19875: [Shadow]: Retargeting algorithm is incorrectly retargets at lower boundary.
authorDimitri Glazkov <dglazkov@chromium.org>
Thu, 08 Nov 2012 13:35:31 -0800
changeset 579c7b1b3f1caf6
parent 578 4ad427043070
child 580 d2d5c5a2b517
19875: [Shadow]: Retargeting algorithm is incorrectly retargets at lower boundary.
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19875
spec/shadow/index.html
     1.1 --- a/spec/shadow/index.html	Thu Nov 08 11:32:58 2012 -0800
     1.2 +++ b/spec/shadow/index.html	Thu Nov 08 13:35:31 2012 -0800
     1.3 @@ -494,7 +494,8 @@
     1.4          <li>If <var>ANCESTOR</var> is an <a href="#dfn-insertion-point">insertion point</a>:
     1.5          <ol>
     1.6              <li>Let <var>CONTEXT</var> be the top-most item in <var>STACK</var> that is not an <a href="#dfn-insertion-point">insertion point</a> or <strong>null</strong> if such item does not exist.</li>
     1.7 -            <li>Push <var>ANCESTOR</var> into <var>STACK</var></li>
     1.8 +            <li>Let <var>TOP</var> be the item at the top of <var>STACK</var>, or <var>ANCESTOR</var> if <var>STACK</var> is empty</li>
     1.9 +            <li>Push <var>TOP</var> into <var>STACK</var></li>
    1.10          </ol></li>
    1.11          <li>Otherwise, let <var>CONTEXT</var> be <strong>null</strong></li>
    1.12          <li>If <var>STACK</var> is empty, push <var>ANCESTOR</var> into <var>STACK</var></li>