W3C home > Mailing lists > Public > public-html-commits@w3.org > October 2009

html5/spec Overview.html,1.3240,1.3241

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 05 Oct 2009 23:23:02 +0000
To: public-html-commits@w3.org
Message-Id: <E1MuwtS-0007sD-5r@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv30251

Modified Files:
	Overview.html 
Log Message:
Add document.head. (whatwg r4082)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3240
retrieving revision 1.3241
diff -u -d -r1.3240 -r1.3241
--- Overview.html	5 Oct 2009 06:37:41 -0000	1.3240
+++ Overview.html	5 Oct 2009 23:22:58 -0000	1.3241
@@ -5993,6 +5993,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>;
@@ -6327,10 +6328,22 @@
 
   </div><h4 id="dom-tree-accessors"><span class="secno">3.1.4 </span><dfn>DOM tree accessors</dfn></h4><p><dfn id="the-html-element">The <code>html</code> element</dfn> of a document is the
   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><dfn id="the-head-element">The <code>head</code> element</dfn> of a document is the
+  <code><a href="#the-html-element-0">html</a></code> element, or null otherwise.<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.<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>
+  otherwise.<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
     <code>title</code> element</a>.</p>
@@ -11227,16 +11240,16 @@
 
 ; characters
 tab           = %x0009 ; U+0009 TAB
-newline       = %x000A ; U+000A LINE FEED
+newline       = %x000A ; U+000A LINE FEED (LF)
 space         = %x0020 ; U+0020 SPACE
-star          = %x002A ; U+002A ASTERISK
-slash         = %x002F ; U+002F SOLIDUS
+star          = %x002A ; U+002A ASTERISK (*)
+slash         = %x002F ; U+002F SOLIDUS (/)
 not-newline   = %x0000-0009 / %x000B-10FFFF
-                ; a Unicode character other than U+000A LINE FEED
+                ; a Unicode character other than U+000A LINE FEED (LF)
 not-star      = %x0000-0029 / %x002B-10FFFF
-                ; a Unicode character other than U+002A ASTERISK
+                ; a Unicode character other than U+002A ASTERISK (*)
 not-slash     = %x0000-002E / %x0030-10FFFF
-                ; a Unicode character other than U+002F SOLIDUS</pre><p class="note">This corresponds to putting the contents of the
+                ; a Unicode character other than U+002F SOLIDUS (/)</pre><p class="note">This corresponds to putting the contents of the
   element in JavaScript comments.<div class="example">
 
    <p>This allows authors to include documentation, such as license
@@ -67847,6 +67860,7 @@
   Jorgen Horstink,
   Jorunn Danielsen Newth,
   Joseph Kesselman,
+  Joseph Pecoraro,
   Josh Aas,
   Josh Levenberg,
   Joshua Randall,
Received on Monday, 5 October 2009 23:23:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 October 2009 23:23:07 GMT