hixie: 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/. (whatwg r4040)

hixie: 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/. (whatwg r4040)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3201&r2=1.3202&f=h
http://html5.org/tools/web-apps-tracker?from=4039&to=4040

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3201
retrieving revision 1.3202
diff -u -d -r1.3201 -r1.3202
--- Overview.html 29 Sep 2009 08:55:40 -0000 1.3201
+++ Overview.html 29 Sep 2009 09:06:10 -0000 1.3202
@@ -60072,7 +60072,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

Received on Tuesday, 29 September 2009 09:07:15 UTC