hixie: Explain example some more. (whatwg r5433)

hixie: Explain example some more. (whatwg r5433)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4333&r2=1.4334&f=h
http://html5.org/tools/web-apps-tracker?from=5432&to=5433

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4333
retrieving revision 1.4334
diff -u -d -r1.4333 -r1.4334
--- Overview.html 7 Sep 2010 23:59:35 -0000 1.4333
+++ Overview.html 8 Sep 2010 00:06:00 -0000 1.4334
@@ -311,7 +311,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-7-september-2010">Editor's Draft 7 September 2010</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-8-september-2010">Editor's Draft 8 September 2010</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>
@@ -417,7 +417,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
   track.
-  This specification is the 7 September 2010 Editor's Draft.
+  This specification is the 8 September 2010 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
@@ -1554,7 +1554,12 @@
   and <code><a href="#the-body-element-0">body</a></code>, as well as a text node between them.<p>There are many more text nodes in the DOM tree than one would
   initially expect, because the source contains a number of spaces
   (represented here by "&#9251;") and line breaks ("&#9166;") that
-  all end up as text nodes in the DOM.<p>The <code><a href="#the-head-element-0">head</a></code> element contains a <code><a href="#the-title-element-0">title</a></code>
+  all end up as text nodes in the DOM. However, for historical reasons
+  not all of the spaces and line breaks in the original markup appear
+  in the DOM. In particular, all the whitespace before
+  <code><a href="#the-head-element-0">head</a></code> start tag ends up being dropped silently, and all
+  the whitespace after the <code><a href="#the-body-element-0">body</a></code> end tag ends up placed at
+  the end of the <code><a href="#the-body-element-0">body</a></code>.<p>The <code><a href="#the-head-element-0">head</a></code> element contains a <code><a href="#the-title-element-0">title</a></code>
   element, which itself contains a text node with the text "Sample
   page". Similarly, the <code><a href="#the-body-element-0">body</a></code> element contains an
   <code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h1</a></code> element, a <code><a href="#the-p-element">p</a></code> element, and a

Received on Wednesday, 8 September 2010 00:06:41 UTC