hixie: Correct mention of which step to jump to; change the way long text nodes are marked up in the examples. (whatwg r3412)

hixie: Correct mention of which step to jump to; change the way long
text nodes are marked up in the examples. (whatwg r3412)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2541&r2=1.2542&f=h
http://html5.org/tools/web-apps-tracker?from=3411&to=3412

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2541
retrieving revision 1.2542
diff -u -d -r1.2541 -r1.2542
--- Overview.html 15 Jul 2009 01:29:30 -0000 1.2541
+++ Overview.html 15 Jul 2009 03:27:28 -0000 1.2542
@@ -56198,7 +56198,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>
@@ -56213,7 +56213,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>
 
@@ -56242,10 +56242,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
@@ -56262,7 +56262,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>
 
@@ -58979,9 +58979,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'); &#9166; 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

Received on Wednesday, 15 July 2009 03:28:26 UTC