HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
564210801[Gecko] [Internet Explorer] [Opera] [Webkit] specify specific limits for AAA; let me know what pages break2010-10-19 07:26
@@ -92757,25 +92757,35 @@ document.body.appendChild(text);
 
    <dt id="adoptionAgency">An end tag whose tag name is one of: "a",
    "b", "big", "code", "em", "font", "i", "nobr", "s", "small",
    "strike", "strong", "tt", "u"</dt>
    <dd>
 
     <p>Run these steps:</p>
 
     <ol>
 
+     <li><p>Let <var title="">outer loop counter</var> be
+     zero.</p></li>
+
+     <li><p><i>Outer loop</i>: If <var title="">outer loop
+     counter</var> is greater than or equal to eight, then abort these
+     steps.</p></li>
+
+     <li><p>Increment <var title="">outer loop counter</var> by
+     one.</p></li>
+
      <li>
 
-      <p>Let the <var title="">formatting element</var> be the
-      last element in the <span>list of active formatting
-      elements</span> that:</p>
+      <p>Let the <var title="">formatting element</var> be the last
+      element in the <span>list of active formatting elements</span>
+      that:</p>
 
       <ul>
 
        <li>is between the end of the list and the last scope
        marker in the list, if any, or the start of the list
        otherwise, and</li>
 
        <li>has the same tag name as the token.</li>
 
       </ul>
@@ -92827,33 +92837,44 @@ document.body.appendChild(text);
      formatting elements</span> relative to the elements on either
      side of it in the list.</p></li>
 
      <li>
 
       <p>Let <var title="">node</var> and <var title="">last node</var> be the
       <var title="">furthest block</var>. Follow these steps:</p>
 
       <ol>
 
+       <li><p>Let <var title="">inner loop counter</var> be
+       zero.</p></li>
+
+       <li><p><i>Inner loop</i>: If <var title="">inner loop
+       counter</var> is greater than or equal to three, then abort these
+       steps.</p></li>
+
+       <li><p>Increment <var title="">inner loop counter</var> by
+       one.</p></li>
+
        <li>Let <var title="">node</var> be the element immediately
        above <var title="">node</var> in the <span>stack of open
        elements</span>, or if <var title="">node</var> is no longer in
        the <span>stack of open elements</span> (e.g. because it got
        removed by the next step), the element that was immediately
        above <var title="">node</var> in the <span>stack of open
        elements</span> before <var title="">node</var> was
        removed.</li>
 
        <li>If <var title="">node</var> is not in the <span>list of
        active formatting elements</span>, then remove <var
        title="">node</var> from the <span>stack of open
-       elements</span> and then go back to step 1.</li>
+       elements</span> and then go back to the step labeled <i>inner
+       loop</i>.</li>
 
        <li>Otherwise, if <var title="">node</var> is the <var
        title="">formatting element</var>, then go to the next step
        in the overall algorithm.</li>
 
        <li><span>Create an element for the token</span> for which the
        element <var title="">node</var> was created, replace the entry
        for <var title="">node</var> in the <span>list of active
        formatting elements</span> with an entry for the new element,
        replace the entry for <var title="">node</var> in the
@@ -92866,21 +92887,21 @@ document.body.appendChild(text);
        bookmark to be immediately after the new <var
        title="">node</var> in the <span>list of active formatting
        elements</span>.</li>
 
        <li>Insert <var title="">last node</var> into <var
        title="">node</var>, first removing it from its previous
        parent node if any.</li>
 
        <li>Let <var title="">last node</var> be <var title="">node</var>.</li>
 
-       <li>Return to step 1 of this inner set of steps.</li>
+       <li>Return to the step labeled <i>inner loop</i>.</li>
 
       </ol>
 
      </li>
 
      <li>
 
       <p>If the <var title="">common ancestor</var> node is a
       <code>table</code>, <code>tbody</code>, <code>tfoot</code>,
       <code>thead</code>, or <code>tr</code> element, then,
@@ -92910,21 +92931,21 @@ document.body.appendChild(text);
      new element into the <span>list of active formatting
      elements</span> at the position of the aforementioned
      bookmark.</p></li>
 
      <li><p>Remove the <var title="">formatting element</var> from the
      <span>stack of open elements</span>, and insert the new element
      into the <span>stack of open elements</span> immediately below
      the position of the <var title="">furthest block</var> in that
      stack.</p></li>
 
-     <li><p>Jump back to step 1 in this series of steps.</p></li>
+     <li><p>Jump back to the step labeled <i>outer loop</i>.</p></li>
 
     </ol>
 
     <p class="note">Because of the way this algorithm causes elements
     to change parents, it has been dubbed the "adoption agency
     algorithm" (in contrast with other possible algorithms for dealing
     with misnested content, which included the "incest algorithm", the
     "secret affair algorithm", and the "Heisenberg algorithm").</p>
 
    </dd>

|