[html5] r4040 - [e] (0) Handle the case where /node/ is removed in step 7.2 and then we return t [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Sep 29 02:14:30 PDT 2009


Author: ianh
Date: 2009-09-29 02:14:29 -0700 (Tue, 29 Sep 2009)
New Revision: 4040

Modified:
   index
   source
Log:
[e] (0) Handle the case where /node/ is removed in step 7.2 and then we return to 7.1 and try to index based on /node/.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7701

Modified: index
===================================================================
--- index	2009-09-29 09:03:59 UTC (rev 4039)
+++ index	2009-09-29 09:14:29 UTC (rev 4040)
@@ -66416,7 +66416,12 @@
 
       <ol><li>Let <var title="">node</var> be the element immediately
        above <var title="">node</var> in the <a href=#stack-of-open-elements>stack of open
-       elements</a>.</li>
+       elements</a>, or if <var title="">node</var> is no longer in
+       the <a href=#stack-of-open-elements>stack of open elements</a> (e.g. because it got
+       removed by the next step), the element that was immediately
+       above <var title="">node</var> in the <a href=#stack-of-open-elements>stack of open
+       elements</a> before <var title="">node</var> was
+       removed.</li>
 
        <li>If <var title="">node</var> is not in the <a href=#list-of-active-formatting-elements>list of
        active formatting elements</a>, then remove <var title="">node</var> from the <a href=#stack-of-open-elements>stack of open

Modified: source
===================================================================
--- source	2009-09-29 09:03:59 UTC (rev 4039)
+++ source	2009-09-29 09:14:29 UTC (rev 4040)
@@ -81668,7 +81668,12 @@
 
        <li>Let <var title="">node</var> be the element immediately
        above <var title="">node</var> in the <span>stack of open
-       elements</span>.</li>
+       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




More information about the Commit-Watchers mailing list