NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 525 - 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.)
Attempt to simplify the AAA a bit and make it less dependent on the DOM state...
Status: NEW
Product: Validator.nu
Classification: Unclassified
Component: HTML parser
HEAD
All All
: P2 normal
Assigned To: Nobody
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-27 14:20 CEST by Henri Sivonen
Modified: 2009-11-23 17:17 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henri Sivonen 2009-05-27 14:20:35 CEST
Index: source
===================================================================
--- source	(revision 2793)
+++ source	(revision 2794)
@@ -58750,10 +58750,6 @@
      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
@@ -58785,7 +58781,7 @@
        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
@@ -58811,7 +58807,8 @@
       <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