[html5] r5433 - [e] (0) Explain example some more. Fixing http://www.w3.org/Bugs/Public/show_bug [...]
whatwg at whatwg.org
whatwg at whatwg.org
Tue Sep 7 17:05:55 PDT 2010
Author: ianh
Date: 2010-09-07 17:05:54 -0700 (Tue, 07 Sep 2010)
New Revision: 5433
Modified:
complete.html
index
source
Log:
[e] (0) Explain example some more.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10136
Modified: complete.html
===================================================================
--- complete.html 2010-09-07 23:59:29 UTC (rev 5432)
+++ complete.html 2010-09-08 00:05:54 UTC (rev 5433)
@@ -209,7 +209,7 @@
<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<hgroup><h1>Web Applications 1.0</h1>
- <h2 class="no-num no-toc">Draft Standard — 7 September 2010</h2>
+ <h2 class="no-num no-toc">Draft Standard — 8 September 2010</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -1831,7 +1831,12 @@
<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 "␣") and line breaks ("⏎") that
- all end up as text nodes in the DOM.</p>
+ 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>
<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
Modified: index
===================================================================
--- index 2010-09-07 23:59:29 UTC (rev 5432)
+++ index 2010-09-08 00:05:54 UTC (rev 5433)
@@ -213,7 +213,7 @@
<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<hgroup><h1>HTML5 (including next generation additions still in development)</h1>
- <h2 class="no-num no-toc">Draft Standard — 7 September 2010</h2>
+ <h2 class="no-num no-toc">Draft Standard — 8 September 2010</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -1808,7 +1808,12 @@
<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 "␣") and line breaks ("⏎") that
- all end up as text nodes in the DOM.</p>
+ 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>
<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
Modified: source
===================================================================
--- source 2010-09-07 23:59:29 UTC (rev 5432)
+++ source 2010-09-08 00:05:54 UTC (rev 5433)
@@ -696,7 +696,12 @@
<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 "␣") and line breaks ("⏎") that
- all end up as text nodes in the DOM.</p>
+ 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>head</code> start tag ends up being dropped silently, and all
+ the whitespace after the <code>body</code> end tag ends up placed at
+ the end of the <code>body</code>.</p>
<p>The <code>head</code> element contains a <code>title</code>
element, which itself contains a text node with the text "Sample
More information about the Commit-Watchers
mailing list