[html5] r3782 - [e] (0) cross-ref to the aforementioned example

whatwg at whatwg.org whatwg at whatwg.org
Wed Sep 9 03:31:43 PDT 2009


Author: ianh
Date: 2009-09-09 03:31:42 -0700 (Wed, 09 Sep 2009)
New Revision: 3782

Modified:
   index
   source
Log:
[e] (0) cross-ref to the aforementioned example

Modified: index
===================================================================
--- index	2009-09-09 10:29:15 UTC (rev 3781)
+++ index	2009-09-09 10:31:42 UTC (rev 3782)
@@ -1410,7 +1410,7 @@
 
   <p>A basic HTML document looks like this:</p>
 
-  <pre><!DOCTYPE html>
+  <pre id=intro-early-example><!DOCTYPE html>
 <html>
  <head>
   <title>Sample page</title>
@@ -1467,8 +1467,8 @@
   <p>DOM trees contain several kinds of nodes, in particular a DOCTYPE
   node, elements, text nodes, and comment nodes.</p>
 
-  <p>The markup snippet at the top of this section would be turned
-  into the following DOM tree:</p>
+  <p>The <a href=#intro-early-example>markup snippet at the top of
+  this section</a> would be turned into the following DOM tree:</p>
 
   <ul class=domTree><li class=t10>DOCTYPE: <code><a href=#the-html-element-0>html</a></code><li class=t1><code><a href=#the-html-element-0>html</a></code><ul><li class=t1><code><a href=#the-head-element-0>head</a></code><ul><li class=t3><code>#text</code>: <span title="">⏎␣␣</span><li class=t1><code><a href=#the-title-element-0>title</a></code><ul><li class=t3><code>#text</code>: <span title="">Sample page</span></ul><li class=t3><code>#text</code>: <span title="">⏎␣</span></ul><li class=t3><code>#text</code>: <span title="">⏎␣</span><li class=t1><code><a href=#the-body-element-0>body</a></code><ul><li class=t3><code>#text</code>: <span title="">⏎␣␣</span><li class=t1><code><a href=#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements>h1</a></code><ul><li class=t3><code>#text</code>: <span title="">Sample page</span></ul><li class=t3><code>#text</code>: <span title="">⏎␣␣</span><li class=t1><code><a href=#the-p-element>p</a></code><ul><li class=t3><code>#text</code>: <span title="">This is a </span><li class=t1><code><a href=#the-a-element>a</a></code> <span class=t2 title=""><code class="attribute name">href</code>="<code class="attribute value">demo.html</code>"</span><ul><li class=t3><code>#text</code>: <span title="">simple</span></ul><li class=t3><code>#text</code>: <span title=""> sample.</span></ul><li class=t3><code>#text</code>: <span title="">⏎␣␣</span><li class=t8><code>#comment</code>: <span title=""> this is a comment </span><li class=t3><code>#text</code>: <span title="">⏎␣⏎</span></ul></ul></ul><p>The <a href=#root-element>root element</a> of this tree is the
   <code><a href=#the-html-element-0>html</a></code> element, which is the element always found at the

Modified: source
===================================================================
--- source	2009-09-09 10:29:15 UTC (rev 3781)
+++ source	2009-09-09 10:31:42 UTC (rev 3782)
@@ -418,7 +418,7 @@
 
   <p>A basic HTML document looks like this:</p>
 
-  <pre><!DOCTYPE html>
+  <pre id="intro-early-example"><!DOCTYPE html>
 <html>
  <head>
   <title>Sample page</title>
@@ -483,8 +483,8 @@
   <p>DOM trees contain several kinds of nodes, in particular a DOCTYPE
   node, elements, text nodes, and comment nodes.</p>
 
-  <p>The markup snippet at the top of this section would be turned
-  into the following DOM tree:</p>
+  <p>The <a href="#intro-early-example">markup snippet at the top of
+  this section</a> would be turned into the following DOM tree:</p>
 
   <ul class="domTree"><li class="t10">DOCTYPE: <code>html</code></li><li class="t1"><code>html</code><ul><li class="t1"><code>head</code><ul><li class="t3"><code>#text</code>: <span title="">&#x23CE;&#x2423;&#x2423;</span></li><li class="t1"><code>title</code><ul><li class="t3"><code>#text</code>: <span title="">Sample page</span></li></ul></li><li class="t3"><code>#text</code>: <span title="">&#x23CE;&#x2423;</span></li></ul></li><li class="t3"><code>#text</code>: <span title="">&#x23CE;&#x2423;</span></li><li class="t1"><code>body</code><ul><li class="t3"><code>#text</code>: <span title="">&#x23CE;&#x2423;&#x2423;</span></li><li class="t1"><code>h1</code><ul><li class="t3"><code>#text</code>: <span title="">Sample page</span></li></ul></li><li class="t3"><code>#text</code>: <span title="">&#x23CE;&#x2423;&#x2423;</span></li><li class="t1"><code>p</code><ul><li class="t3"><code>#text</code>: <span title="">This is a </span></li><li class="t1"><code>a</code> <span title="" class="t2"><code class="attribute name">href</code>="<code class="attribute value">demo.html</code>"</span><ul><li class="t3"><code>#text</code>: <span title="">simple</span></li></ul></li><li class="t3"><code>#text</code>: <span title=""> sample.</span></li></ul></li><li class="t3"><code>#text</code>: <span title="">&#x23CE;&#x2423;&#x2423;</span></li><li class="t8"><code>#comment</code>: <span title=""> this is a comment </span></li><li class="t3"><code>#text</code>: <span title="">&#x23CE;&#x2423;&#x23CE;</span></li></ul></li></ul></li></ul>
 




More information about the Commit-Watchers mailing list