Skip to content

Commit

Permalink
[e] (0) Explain example some more.
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10136

git-svn-id: http://svn.whatwg.org/webapps@5433 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 8, 2010
1 parent c548aaa commit 0dd3a0d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
9 changes: 7 additions & 2 deletions complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 &mdash; 7 September 2010</h2>
<h2 class="no-num no-toc">Draft Standard &mdash; 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>-->
Expand Down Expand Up @@ -1831,7 +1831,12 @@ <h3 id=a-quick-introduction-to-html><span class=secno>1.9 </span>A quick introdu
<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>
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
Expand Down
9 changes: 7 additions & 2 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -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 &mdash; 7 September 2010</h2>
<h2 class="no-num no-toc">Draft Standard &mdash; 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>-->
Expand Down Expand Up @@ -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 "&#9251;") and line breaks ("&#9166;") 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
Expand Down
7 changes: 6 additions & 1 deletion source
Original file line number Diff line number Diff line change
Expand Up @@ -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 "&#x2423;") and line breaks ("&#x23CE;") 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
Expand Down

0 comments on commit 0dd3a0d

Please sign in to comment.