Skip to content

Commit

Permalink
Simplify the AAA while making it actually work...
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@40 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 22, 2006
1 parent 36ea6d7 commit 7d1ed38
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 18 deletions.
15 changes: 9 additions & 6 deletions index
Expand Up @@ -20359,8 +20359,9 @@ function receiver(e) {
<p>Let the <var title="">nearest block</var> be the bottommost node
in the <span><a href="#stack">stack of open elements</a></span>
that is lower in the stack than the <var title="">formatting
element</var> and not also in the <span><a href="#list-of">list of
active formatting elements</a></span>.</p>
element</var>, and is not an element in the <span><a
href="#phrasing">phrasing</a></span> or <span><a
href="#formatting">formatting</a></span> categories.</p>

<p>There might not be one; if there isn't, then the UA must skip
the subsequent steps and instead just pop all the nodes from the
Expand All @@ -20375,10 +20376,12 @@ function receiver(e) {
<p>Let the <var title="">furthest block</var> be the topmost node
in the <span><a href="#stack">stack of open elements</a></span>
that is lower in the stack than the <var title="">formatting
element</var> and not also in the <span><a href="#list-of">list of
active formatting elements</a></span>. There will always be one
(otherwise the UA would have bailed at the last step), but it
might be the same as the <var title="">nearest block</var>.
element</var>, and is not an element in the <span><a
href="#phrasing">phrasing</a></span> or <span><a
href="#formatting">formatting</a></span> categories. There will
always be one (otherwise the UA would have bailed at the last
step), but it might be the same as the <var title="">nearest
block</var>.

<li>
<p>If the <var title="">furthest block</var> has a parent node,
Expand Down
26 changes: 14 additions & 12 deletions source
Expand Up @@ -18321,11 +18321,12 @@ function receiver(e) {
immediately above the <var title="">formatting element</var> in the
<span>stack of open elements</span>.</p></li>

<li><p>Let the <var title="">nearest block</var> be the bottommost
node in the <span>stack of open elements</span> that is lower
in the stack than the <var title="">formatting element</var> and not
also in the <span>list of active formatting
elements</span>.</p>
<li><p>Let the <var title="">nearest block</var> be the
bottommost node in the <span>stack of open elements</span>
that is lower in the stack than the <var title="">formatting
element</var>, and is not an element in the
<span>phrasing</span> or <span>formatting</span>
categories.</p>

<p>There might not be one; if there isn't, then the UA must
skip the subsequent steps and instead just pop all the nodes
Expand All @@ -18335,13 +18336,14 @@ function receiver(e) {
from the <span>list of active formatting
elements</span>.</p></li>

<li><p>Let the <var title="">furthest block</var> be the topmost node
in the <span>stack of open elements</span> that is lower in
the stack than the <var title="">formatting element</var> and not also
in the <span>list of active formatting elements</span>. There
will always be one (otherwise the UA would have bailed at the
last step), but it might be the same as the <var title="">nearest
block</var>.</p></li>
<li><p>Let the <var title="">furthest block</var> be the
topmost node in the <span>stack of open elements</span> that
is lower in the stack than the <var title="">formatting
element</var>, and is not an element in the
<span>phrasing</span> or <span>formatting</span>
categories. There will always be one (otherwise the UA would
have bailed at the last step), but it might be the same as
the <var title="">nearest block</var>.</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
Expand Down

0 comments on commit 7d1ed38

Please sign in to comment.