HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
2794[Conformance Checkers] [Tools] Attempt to simplify the AAA a bit and make it less dependent on the DOM state. Please send feedback if this breaks anything. (It is expected that this will increase the number of DOM nodes in certain cases.)2009-02-11 23:31
@@ -58743,24 +58743,20 @@ interface <dfn>MessageChannel</dfn> {
      pop all the nodes from the bottom of the <span>stack of open
      elements</span>, from the <span>current node</span> up to and
      including the <var title="">formatting element</var>, and
      remove the <var title="">formatting element</var> from the
      <span>list of active formatting elements</span>.</p></li>
 
      <li><p>Let the <var title="">common ancestor</var> be the element
      immediately above the <var title="">formatting element</var> in the
      <span>stack of open elements</span>.</p></li>
 
-     <li><p>If the <var title="">furthest block</var> has a parent node,
-     then remove the <var title="">furthest block</var> from its parent
-     node.</p></li>
-
      <li><p>Let a bookmark note the position of the <var
      title="">formatting element</var> in the <span>list of active
      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>
 
@@ -58778,21 +58774,21 @@ interface <dfn>MessageChannel</dfn> {
        <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>Otherwise, if <var title="">last node</var> is the <var
        title="">furthest block</var>, then move the aforementioned
        bookmark to be immediately after the <var
        title="">node</var> in the <span>list of active formatting
        elements</span>.</li>
 
-       <li>If <var title="">node</var> has any children, perform a shallow
+       <li>Perform a shallow
        clone of <var title="">node</var>, replace the entry for
        <var title="">node</var> in the <span>list of active formatting
        elements</span> with an entry for the clone, replace the
        entry for <var title="">node</var> in the <span>stack of open
        elements</span> with an entry for the clone, and let
        <var title="">node</var> be the clone.</li>
 
        <li>Insert <var title="">last node</var> into <var
        title="">node</var>, first removing it from its previous
        parent node if any.</li>
@@ -58804,21 +58800,22 @@ interface <dfn>MessageChannel</dfn> {
       </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,
       <span>foster parent</span> whatever <var title="">last
-      node</var> ended up being in the previous step.</p>
+      node</var> ended up being in the previous step, first removing
+      it from its previous parent node if any.</p>
 
       <p>Otherwise, append whatever <var title="">last node</var>
       ended up being in the previous step to the <var title="">common
       ancestor</var> node, first removing it from its previous parent
       node if any.</p>
 
      </li>
 
      <li><p>Perform a shallow clone of the <var title="">formatting
      element</var>.</p></li>

|