[html5] r3412 - [e] (0) Correct mention of which step to jump to; change the way long text nodes [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Jul 14 20:27:23 PDT 2009


Author: ianh
Date: 2009-07-14 20:27:21 -0700 (Tue, 14 Jul 2009)
New Revision: 3412

Modified:
   index
   source
Log:
[e] (0) Correct mention of which step to jump to; change the way long text nodes are marked up in the examples.

Modified: index
===================================================================
--- index	2009-07-15 01:29:24 UTC (rev 3411)
+++ index	2009-07-15 03:27:21 UTC (rev 3412)
@@ -62327,7 +62327,7 @@
      then act as if an end tag with the tag name "li" had
      been seen, then jump to the last step.</li>
 
-     <li><p>If <var title="">node</var> is not in the
+     <li><p><i>Loop</i>: If <var title="">node</var> is not in the
      <a href=#formatting>formatting</a> category, and is not in the
      <a href=#phrasing>phrasing</a> category, and is not an
      <code><a href=#the-address-element>address</a></code>, <code><a href=#the-div-element>div</a></code>, or <code><a href=#the-p-element>p</a></code>
@@ -62342,7 +62342,7 @@
 
      <li><p>Otherwise, set <var title="">node</var> to the previous
      entry in the <a href=#stack-of-open-elements>stack of open elements</a> and return to
-     step 2.</li>
+     the step labeled <i>loop</i>.</li>
 
      <li>
 
@@ -62371,10 +62371,10 @@
      <li><p>Initialize <var title="">node</var> to be the <a href=#current-node>current
      node</a> (the bottommost node of the stack).</li>
 
-     <li><p>If <var title="">node</var> is a <code><a href=#the-dd-element>dd</a></code> or
-     <code><a href=#the-dt-element>dt</a></code> element, then act as if an end tag with the same
-     tag name as <var title="">node</var> had been seen, then jump to
-     the last step.</li>
+     <li><p><i>Loop</i>: If <var title="">node</var> is a
+     <code><a href=#the-dd-element>dd</a></code> or <code><a href=#the-dt-element>dt</a></code> element, then act as if an end
+     tag with the same tag name as <var title="">node</var> had been
+     seen, then jump to the last step.</li>
 
      <li><p>If <var title="">node</var> is not in the
      <a href=#formatting>formatting</a> category, and is not in the
@@ -62391,7 +62391,7 @@
 
      <li><p>Otherwise, set <var title="">node</var> to the previous
      entry in the <a href=#stack-of-open-elements>stack of open elements</a> and return to
-     step 2.</li>
+     the step labeled <i>loop</i>.</li>
 
      <li>
 
@@ -65108,9 +65108,8 @@
   <p>Up to the first "script" end tag, before the script is parsed,
   the result is relatively straightforward:</p>
 
-  <ul class=domTree><li class=t1><code><a href=#the-html-element>html</a></code><ul><li class=t1><code><a href=#the-head-element>head</a></code><li class=t1><code><a href=#the-body-element>body</a></code><ul><li class=t1><code><a href=#the-div-element>div</a></code> <span class=t2><code class="attribute name">id</code>="<code class="attribute value"><a href=#the-a-element>a</a></code>"</span><ul><li class=t3><code>#text</code>: <span title="">
- </span><li class=t1><code><a href=#script>script</a></code><ul><li class=t3><code>#text</code>: <pre>  var div = document.getElementById('a');
-  parent.document.body.appendChild(div);</pre></ul></ul></ul></ul></ul><p>After the script is parsed, though, the <code><a href=#the-div-element>div</a></code> element
+  <ul class=domTree><li class=t1><code><a href=#the-html-element>html</a></code><ul><li class=t1><code><a href=#the-head-element>head</a></code><li class=t1><code><a href=#the-body-element>body</a></code><ul><li class=t1><code><a href=#the-div-element>div</a></code> <span class=t2 title=""><code class="attribute name">id</code>="<code class="attribute value"><a href=#the-a-element>a</a></code>"</span><ul><li class=t3><code>#text</code>: <span title="">
+ </span><li class=t1><code><a href=#script>script</a></code><ul><li class=t3><code>#text</code>: <span title="">var div = document.getElementById('a'); ⏎ parent.document.body.appendChild(div);</span></ul></ul></ul></ul></ul><p>After the script is parsed, though, the <code><a href=#the-div-element>div</a></code> element
   and its child <code><a href=#script>script</a></code> element are gone:</p>
 
   <ul class=domTree><li class=t1><code><a href=#the-html-element>html</a></code><ul><li class=t1><code><a href=#the-head-element>head</a></code><li class=t1><code><a href=#the-body-element>body</a></code></ul></ul><p>They are, at this point, in the <code>Document</code> of the

Modified: source
===================================================================
--- source	2009-07-15 01:29:24 UTC (rev 3411)
+++ source	2009-07-15 03:27:21 UTC (rev 3412)
@@ -76334,7 +76334,7 @@
      then act as if an end tag with the tag name "li" had
      been seen, then jump to the last step.</p></li>
 
-     <li><p>If <var title="">node</var> is not in the
+     <li><p><i>Loop</i>: If <var title="">node</var> is not in the
      <span>formatting</span> category, and is not in the
      <span>phrasing</span> category, and is not an
      <code>address</code>, <code>div</code>, or <code>p</code>
@@ -76349,7 +76349,7 @@
 
      <li><p>Otherwise, set <var title="">node</var> to the previous
      entry in the <span>stack of open elements</span> and return to
-     step 2.</p></li>
+     the step labeled <i>loop</i>.</p></li>
 
      <li>
 
@@ -76382,10 +76382,10 @@
      <li><p>Initialize <var title="">node</var> to be the <span>current
      node</span> (the bottommost node of the stack).</p></li>
 
-     <li><p>If <var title="">node</var> is a <code>dd</code> or
-     <code>dt</code> element, then act as if an end tag with the same
-     tag name as <var title="">node</var> had been seen, then jump to
-     the last step.</p></li>
+     <li><p><i>Loop</i>: If <var title="">node</var> is a
+     <code>dd</code> or <code>dt</code> element, then act as if an end
+     tag with the same tag name as <var title="">node</var> had been
+     seen, then jump to the last step.</p></li>
 
      <li><p>If <var title="">node</var> is not in the
      <span>formatting</span> category, and is not in the
@@ -76402,7 +76402,7 @@
 
      <li><p>Otherwise, set <var title="">node</var> to the previous
      entry in the <span>stack of open elements</span> and return to
-     step 2.</p></li>
+     the step labeled <i>loop</i>.</p></li>
 
      <li>
 
@@ -79391,9 +79391,8 @@
   <p>Up to the first "script" end tag, before the script is parsed,
   the result is relatively straightforward:</p>
 
-  <ul class="domTree"><li class="t1"><code>html</code><ul><li class="t1"><code>head</code></li><li class="t1"><code>body</code><ul><li class="t1"><code>div</code> <span class="t2"><code class="attribute name">id</code>="<code class="attribute value">a</code>"</span><ul><li class="t3"><code>#text</code>: <span title="">
- </span></li><li class="t1"><code>script</code><ul><li class="t3"><code>#text</code>: <pre>  var div = document.getElementById('a');
-  parent.document.body.appendChild(div);</pre></li></ul></li></ul></li></ul></li></ul></li></ul>
+  <ul class="domTree"><li class="t1"><code>html</code><ul><li class="t1"><code>head</code></li><li class="t1"><code>body</code><ul><li class="t1"><code>div</code> <span title="" class="t2"><code class="attribute name">id</code>="<code class="attribute value">a</code>"</span><ul><li class="t3"><code>#text</code>: <span title="">
+ </span></li><li class="t1"><code>script</code><ul><li class="t3"><code>#text</code>: <span title="">var div = document.getElementById('a'); &#x23CE; parent.document.body.appendChild(div);</span></li></ul></li></ul></li></ul></li></ul></li></ul>
 
   <p>After the script is parsed, though, the <code>div</code> element
   and its child <code>script</code> element are gone:</p>




More information about the Commit-Watchers mailing list