W3C home > Mailing lists > Public > public-html-diffs@w3.org > January 2011

hixie: clarify 'root element' (whatwg r5786)

From: poot <cvsmail@w3.org>
Date: Fri, 14 Jan 2011 16:16:55 -0500
To: public-html-diffs@w3.org
Message-Id: <E1Pdr0w-0004eN-T8@jay.w3.org>
hixie: clarify 'root element' (whatwg r5786)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4648&r2=1.4649&f=h
http://html5.org/tools/web-apps-tracker?from=5785&to=5786

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4648
retrieving revision 1.4649
diff -u -d -r1.4648 -r1.4649
--- Overview.html	13 Jan 2011 00:02:41 -0000	1.4648
+++ Overview.html	14 Jan 2011 21:15:34 -0000	1.4649
@@ -325,7 +325,7 @@
 
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-   <h2 class="no-num no-toc" id="editor-s-draft-12-january-2011">Editor's Draft 12 January 2011</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-14-january-2011">Editor's Draft 14 January 2011</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -460,7 +460,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
   track.
-  This specification is the 12 January 2011 Editor's Draft.
+  This specification is the 14 January 2011 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group
   actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working
   group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- required patent boilerplate --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
@@ -2376,15 +2376,18 @@
   not an <a href="#ascii-case-insensitive">ASCII case-insensitive</a> match for the string
   "<code title="">xml</code>". <a href="#refsXML">[XML]</a><p>The term <dfn id="xml-mime-type">XML MIME type</dfn> is used to refer to the <a href="#mime-type" title="MIME type">MIME types</a> <code title="">text/xml</code>,
   <code title="">application/xml</code>, and any <a href="#mime-type">MIME
-  type</a> whose subtype ends with the four characters "<code title="">+xml</code>". <a href="#refsRFC3023">[RFC3023]</a><h4 id="dom-trees"><span class="secno">2.1.3 </span>DOM trees</h4><p>The term <dfn id="root-element">root element</dfn>, when not explicitly qualified
-  as referring to the document's root element, means the furthest
+  type</a> whose subtype ends with the four characters "<code title="">+xml</code>". <a href="#refsRFC3023">[RFC3023]</a><h4 id="dom-trees"><span class="secno">2.1.3 </span>DOM trees</h4><p>The <dfn id="root-element-of-a-document-object">root element of a <code>Document</code> object</dfn> is
+  that <code><a href="#document">Document</a></code>'s first element child, if any. If it does
+  not have one then the <code><a href="#document">Document</a></code> has no root element.<p>The term <dfn id="root-element">root element</dfn>, when not referring to a
+  <code><a href="#document">Document</a></code> object's root element, means the furthest
   ancestor element node of whatever node is being discussed, or the
   node itself if it has no ancestors. When the node is a part of the
   document, then the node's <a href="#root-element">root element</a> is indeed the
   document's root element; however, if the node is not currently part
-  of the document tree, the root element will be an orphaned node.<p>When an element's <a href="#root-element">root element</a> is the root element
-  of a <code><a href="#document">Document</a></code>, it is said to be <dfn id="in-a-document">in a
-  <code>Document</code></dfn>. An element is said to have been <dfn id="insert-an-element-into-a-document" title="insert an element into a document">inserted into a
+  of the document tree, the root element will be an orphaned node.<p>When an element's <a href="#root-element">root element</a> is the <a href="#root-element-of-a-document-object">root
+  element of a <code>Document</code> object</a>, it is said to be
+  <dfn id="in-a-document">in a <code>Document</code></dfn>. An element is said to have
+  been <dfn id="insert-an-element-into-a-document" title="insert an element into a document">inserted into a
   document</dfn> when its <a href="#root-element">root element</a> changes and is now
   the document's <a href="#root-element">root element</a>. Analogously, an element is
   said to have been <dfn id="remove-an-element-from-a-document" title="remove an element from a
Received on Friday, 14 January 2011 21:16:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 14 January 2011 21:16:57 GMT