Skip to content

Commit

Permalink
<b><p><b></p></b> didn't work.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@72 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 26, 2006
1 parent bcd8b19 commit 1d1b1f3
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 54 deletions.
55 changes: 26 additions & 29 deletions index
Expand Up @@ -24,7 +24,7 @@

<h1 id="web-applications">Web Applications 1.0</h1>

<h2 class="no-num no-toc" id="working">Working Draft &mdash; 23 June 2006</h2>
<h2 class="no-num no-toc" id="working">Working Draft &mdash; 26 June 2006</h2>

<p>You can take part in this work. <a
href="http://www.whatwg.org/mailing-list">Join the working group's
Expand Down Expand Up @@ -20534,40 +20534,37 @@ function receiver(e) {

<ol>
<li>
<p>Let the <var title="">formatting element</var> be the bottommost
node in the <span><a href="#stack">stack of open
elements</a></span> that is <span title="has an element in
scope"><a href="#have-an">in scope</a></span> and whose tag name
matches the tag name of the end tag token. There might not be one.</p>

<p>If there is no <var title="">formatting element</var>, or if
there <em>is</em> a <var title="">formatting element</var> but the
<var title="">formatting element</var> is not the <span><a
href="#current3">current node</a></span>, then it is a <span><a
href="#parse">parse error</a></span>.</p>

<p>If there is no <var title="">formatting element</var>, but there
is an element in the <span><a href="#list-of2">list of active
formatting elements</a></span> that:</p>
<p>Let the <var title="">formatting element</var> be the last
element in the <span><a href="#list-of2">list of active formatting
elements</a></span> that:</p>

<ul>
<li>is between the end of the list and the last scope marker in
the list, if any, or the start of the list otherwise,
the list, if any, or the start of the list otherwise, and

<li>has the same tag name as the token, and

<li>is not in the <span><a href="#stack">stack of open
elements</a></span> (it might be, despite that having been
checked above, because it might be in the stack but out of
scope),
<li>has the same tag name as the token.
</ul>

<p>...then remove the last such element from the list. In any case,
if there is no <var title="">formatting element</var>, abort these
steps.</p>

<p>Otherwise, there is a <var title="">formatting element</var>;
proceed with the algorithm as written in the following steps.</p>
<p>If there is no such node, or, if that node is also in the
<span><a href="#stack">stack of open elements</a></span> but the
element is not <span title="has an element in scope"><a
href="#have-an">in scope</a></span>, then this is a <span><a
href="#parse">parse error</a></span>. Abort these steps. The token
is ignored.</p>

<p>Otherwise, if there is such a node, but that node is not in the
stack of open elements, then this is a <span><a
href="#parse">parse error</a></span>; remove the element from the
list, and abort these steps.</p>

<p>Otherwise, there is a <var title="">formatting element</var> and
that element is in <span title="stack of open elements"><a
href="#stack">the stack</a></span> and is <span title="has an
element in scope"><a href="#have-an">in scope</a></span>. If the
element is not the <span><a href="#current3">current
node</a></span>, this is a <span><a href="#parse">parse
error</a></span>. In any case, proceed with the algorithm as
written in the following steps.</p>

<li>
<p>Let the <var title="">common ancestor</var> be the element
Expand Down
45 changes: 20 additions & 25 deletions source
Expand Up @@ -18623,42 +18623,37 @@ function receiver(e) {
<li>

<p>Let the <var title="">formatting element</var> be the
bottommost node in the <span>stack of open elements</span>
that is <span title="has an element in scope">in
scope</span> and whose tag name matches the tag name of the
end tag token. There might not be one.</p>

<p>If there is no <var title="">formatting element</var>, or
if there <em>is</em> a <var title="">formatting
element</var> but the <var title="">formatting element</var>
is not the <span>current node</span>, then it is a
<span>parse error</span>.</p>

<p>If there is no <var title="">formatting element</var>,
but there is an element in the <span>list of active
formatting elements</span> that:</p>
last element in the <span>list of active formatting
elements</span> that:</p>

<ul>

<li>is between the end of the list and the last scope
marker in the list, if any, or the start of the list
otherwise,</li>
otherwise, and</li>

<li>has the same tag name as the token, and</li>

<li>is not in the <span>stack of open elements</span> (it
might be, despite that having been checked above, because
it might be in the stack but out of scope),</li>
<li>has the same tag name as the token.</li>

</ul>

<p>...then remove the last such element from the list. In
any case, if there is no <var title="">formatting
element</var>, abort these steps.</p>
<p>If there is no such node, or, if that node is also in the
<span>stack of open elements</span> but the element is not
<span title="has an element in scope">in scope</span>, then
this is a <span>parse error</span>. Abort these steps. The
token is ignored.</p>

<p>Otherwise, if there is such a node, but that node is not
in the stack of open elements</span>, then this is a
<span>parse error</span>; remove the element from the list,
and abort these steps.</p>

<p>Otherwise, there is a <var title="">formatting
element</var>; proceed with the algorithm as written in the
following steps.</p>
element</var> and that element is in <span title="stack of
open elements">the stack</span> and is <span title="has an
element in scope">in scope</span>. If the element is not the
<span>current node</span>, this is a <span>parse
error</span>. In any case, proceed with the algorithm as
written in the following steps.</p>

</li>

Expand Down

0 comments on commit 1d1b1f3

Please sign in to comment.