[html5] r1344 - /

whatwg at whatwg.org whatwg at whatwg.org
Tue Mar 4 21:19:11 PST 2008


Author: ianh
Date: 2008-03-04 21:19:10 -0800 (Tue, 04 Mar 2008)
New Revision: 1344

Modified:
   index
   source
Log:
[e] (0) Make the terminology more consistent for the stack of open elements. (Is there something that grows downwards that we could use as a metaphor here instead of 'stack'?)

Modified: index
===================================================================
--- index	2008-03-05 04:59:27 UTC (rev 1343)
+++ index	2008-03-05 05:19:10 UTC (rev 1344)
@@ -40523,7 +40523,12 @@
   <h5 id=the-stack><span class=secno>8.2.4.1. </span>The stack of open
    elements</h5>
 
-  <p>Initially the <dfn id=stack>stack of open elements</dfn> is empty.
+  <p>Initially the <dfn id=stack>stack of open elements</dfn> is empty. The
+   stack grows downwards; the topmost node on the stack is the first one
+   added to the stack, and the bottommost node of the stack is the most
+   recently added node in the stack (notwithstanding when the stack is
+   manipulated in a random access fashion as part of <a
+   href="#adoptionAgency">the handling for misnested tags</a>).
 
   <p>The "<a href="#before4" title="insertion mode: before html">before
    html</a>" insertion mode creates the <code><a href="#html">html</a></code>
@@ -40539,7 +40544,6 @@
 
   <p>The <code><a href="#html">html</a></code> node, however it is created,
    is the topmost node of the stack. It never gets popped off the stack.
-   (This stack grows downwards.)
 
   <p>The <dfn id=current4>current node</dfn> is the bottommost node in this
    stack.
@@ -42465,8 +42469,8 @@
        the <var title="">furthest block</var>. Follow these steps:</p>
 
       <ol>
-       <li>Let <var title="">node</var> be the element immediately prior to
-        <var title="">node</var> in the <a href="#stack">stack of open
+       <li>Let <var title="">node</var> be the element immediately above <var
+        title="">node</var> in the <a href="#stack">stack of open
         elements</a>.
 
        <li>If <var title="">node</var> is not in the <a href="#list-of4">list
@@ -42543,9 +42547,8 @@
      <li>
       <p>Remove the <var title="">formatting element</var> from the <a
        href="#stack">stack of open elements</a>, and insert the clone into
-       the <a href="#stack">stack of open elements</a> immediately after
-       (i.e. in a more deeply nested position than) the position of the <var
-       title="">furthest block</var> in that stack.
+       the <a href="#stack">stack of open elements</a> immediately below the
+       position of the <var title="">furthest block</var> in that stack.
 
      <li>
       <p>Jump back to step 1 in this series of steps.

Modified: source
===================================================================
--- source	2008-03-05 04:59:27 UTC (rev 1343)
+++ source	2008-03-05 05:19:10 UTC (rev 1344)
@@ -37810,7 +37810,12 @@
 
   <h5>The stack of open elements</h5>
 
-  <p>Initially the <dfn>stack of open elements</dfn> is empty.</p>
+  <p>Initially the <dfn>stack of open elements</dfn> is empty. The
+  stack grows downwards; the topmost node on the stack is the first
+  one added to the stack, and the bottommost node of the stack is the
+  most recently added node in the stack (notwithstanding when the
+  stack is manipulated in a random access fashion as part of <a
+  href="#adoptionAgency">the handling for misnested tags</a>).</p>
 
   <p>The "<span title="insertion mode: before html">before html</span>"
   insertion mode creates the <code>html</code> root element node,
@@ -37824,8 +37829,7 @@
   html">before html</span>" insertion mode.)</p>
 
   <p>The <code>html</code> node, however it is created, is the topmost
-  node of the stack. It never gets popped off the stack. (This stack
-  grows downwards.)</p>
+  node of the stack. It never gets popped off the stack.</p>
 
   <p>The <dfn>current node</dfn> is the bottommost node in this
   stack.</p>
@@ -39628,8 +39632,8 @@
 
       <ol>
 
-       <li>Let <var title="">node</var> be the element immediately prior to
-       <var title="">node</var> in the <span>stack of open
+       <li>Let <var title="">node</var> be the element immediately
+       above <var title="">node</var> in the <span>stack of open
        elements</span>.</li>
 
        <li>If <var title="">node</var> is not in the <span>list of
@@ -39707,9 +39711,8 @@
      bookmark.</p></li>
 
      <li><p>Remove the <var title="">formatting element</var> from the
-     <span>stack of open elements</span>, and insert the clone
-     into the <span>stack of open elements</span> immediately
-     after (i.e. in a more deeply nested position than) the
+     <span>stack of open elements</span>, and insert the clone into
+     the <span>stack of open elements</span> immediately below the
      position of the <var title="">furthest block</var> in that
      stack.</p></li>
 




More information about the Commit-Watchers mailing list