- From: poot <cvsmail@w3.org>
- Date: Wed, 8 Sep 2010 09:54:43 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: xref confusion (whatwg r5436) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4335&r2=1.4336&f=h http://html5.org/tools/web-apps-tracker?from=5435&to=5436 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4335 retrieving revision 1.4336 diff -u -d -r1.4335 -r1.4336 --- Overview.html 8 Sep 2010 00:33:57 -0000 1.4335 +++ Overview.html 8 Sep 2010 00:47:11 -0000 1.4336 @@ -1548,7 +1548,7 @@ markup, turning it into a DOM (Document Object Model) tree. A DOM tree is an in-memory representation of a document.<p>DOM trees contain several kinds of nodes, in particular a DOCTYPE node, elements, text nodes, and comment nodes.<p>The <a href="#intro-early-example">markup snippet at the top of - this section</a> would be turned into the following DOM tree:<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 + this section</a> would be turned into the following DOM tree:<ul class="domTree"><li class="t10">DOCTYPE: <code title="">html</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 root of HTML documents. It contains two elements, <code><a href="#the-head-element-0">head</a></code> 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
Received on Wednesday, 8 September 2010 00:48:11 UTC