[html5] r4082 - [] (0) Add document.head.
whatwg at whatwg.org
whatwg at whatwg.org
Mon Oct 5 16:32:39 PDT 2009
Author: ianh
Date: 2009-10-05 16:32:38 -0700 (Mon, 05 Oct 2009)
New Revision: 4082
Modified:
index
source
Log:
[] (0) Add document.head.
Modified: index
===================================================================
--- index 2009-10-05 10:17:42 UTC (rev 4081)
+++ index 2009-10-05 23:32:38 UTC (rev 4082)
@@ -6637,6 +6637,7 @@
attribute DOMString <a href=#document.title title=dom-document-title>title</a>;
attribute DOMString <a href=#dom-document-dir title=dom-document-dir>dir</a>;
attribute <a href=#htmlelement>HTMLElement</a> <a href=#dom-document-body title=dom-document-body>body</a>;
+ readonly attribute <a href=#htmlheadelement>HTMLHeadElement</a> <a href=#dom-document-head title=dom-document-head>head</a>;
readonly attribute <a href=#htmlcollection>HTMLCollection</a> <a href=#dom-document-images title=dom-document-images>images</a>;
readonly attribute <a href=#htmlcollection>HTMLCollection</a> <a href=#dom-document-embeds title=dom-document-embeds>embeds</a>;
readonly attribute <a href=#htmlcollection>HTMLCollection</a> <a href=#dom-document-plugins title=dom-document-plugins>plugins</a>;
@@ -7002,11 +7003,25 @@
document's root element, if there is one and it's an
<code><a href=#the-html-element-0>html</a></code> element, or null otherwise.</p>
- <p><dfn id=the-head-element>The <code>head</code> element</dfn> of a document is the
+ <hr><dl class=domintro><dt><var title="">document</var> . <code title=dom-document-head><a href=#dom-document-head>head</a></code></dt>
+ <dd>
+ <p>Returns <a href=#the-head-element>the <code>head</code> element</a>.</p>
+ </dd>
+
+ </dl><p><dfn id=the-head-element>The <code>head</code> element</dfn> of a document is the
first <code><a href=#the-head-element-0>head</a></code> element that is a child of <a href=#the-html-element>the
<code>html</code> element</a>, if there is one, or null
otherwise.</p>
+ <div class=impl>
+
+ <p>The <dfn id=dom-document-head title=dom-document-head><code>head</code></dfn>
+ attribute, on getting, must return <a href=#the-head-element>the <code>head</code>
+ element</a> of the document (a <code><a href=#the-head-element-0>head</a></code> element or
+ null).</p>
+
+ </div>
+
<hr><dl class=domintro><dt><var title="">document</var> . <code title=dom-document-title><a href=#document.title>title</a></code> [ = <var title="">value</var> ]</dt>
<dd>
<p>Returns the document's title, as given by <a href=#the-title-element>the
@@ -74414,6 +74429,7 @@
Jorgen Horstink,
Jorunn Danielsen Newth,
Joseph Kesselman,
+ Joseph Pecoraro,
Josh Aas,
Josh Levenberg,
Joshua Randall,
Modified: source
===================================================================
--- source 2009-10-05 10:17:42 UTC (rev 4081)
+++ source 2009-10-05 23:32:38 UTC (rev 4082)
@@ -6577,6 +6577,7 @@
attribute DOMString <span title="dom-document-title">title</span>;
attribute DOMString <span title="dom-document-dir">dir</span>;
attribute <span>HTMLElement</span> <span title="dom-document-body">body</span>;
+ readonly attribute <span>HTMLHeadElement</span> <span title="dom-document-head">head</span>;
readonly attribute <span>HTMLCollection</span> <span title="dom-document-images">images</span>;
readonly attribute <span>HTMLCollection</span> <span title="dom-document-embeds">embeds</span>;
readonly attribute <span>HTMLCollection</span> <span title="dom-document-plugins">plugins</span>;
@@ -7000,11 +7001,31 @@
document's root element, if there is one and it's an
<code>html</code> element, or null otherwise.</p>
+ <hr>
+
+ <dl class="domintro">
+
+ <dt><var title="">document</var> . <code title="dom-document-head">head</code></dt>
+ <dd>
+ <p>Returns <span>the <code>head</code> element</span>.</p>
+ </dd>
+
+ </dl>
+
<p><dfn>The <code>head</code> element</dfn> of a document is the
first <code>head</code> element that is a child of <span>the
<code>html</code> element</span>, if there is one, or null
otherwise.</p>
+ <div class="impl">
+
+ <p>The <dfn title="dom-document-head"><code>head</code></dfn>
+ attribute, on getting, must return <span>the <code>head</code>
+ element</span> of the document (a <code>head</code> element or
+ null).</p>
+
+ </div>
+
<hr>
<dl class="domintro">
@@ -91527,6 +91548,7 @@
Jorgen Horstink,
Jorunn Danielsen Newth,
Joseph Kesselman,
+ Joseph Pecoraro,
Josh Aas,
Josh Levenberg,
Joshua Randall,
More information about the Commit-Watchers
mailing list