Skip to content

Commit

Permalink
Fix ambiguous text in the select insertion mode
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@38 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 22, 2006
1 parent ddd9cee commit 5c85845
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
17 changes: 9 additions & 8 deletions index
Expand Up @@ -21306,19 +21306,19 @@ function receiver(e) {
<dd>
<p>If the <span><a href="#current3">current node</a></span> is an
<code>option</code> element, act as if an end tag with the tag name
"option" had been seen, then reprocess the token.</p>
"option" had been seen.</p>

<p><span><a href="#insert">Insert an HTML element</a></span> for the
token.</p>

<dt>An end tag token whose tag name is "optgroup"

<dd>
<p>If the <span><a href="#current3">current node</a></span> is an
<code>option</code> element, and the node immediately before it in
the <span><a href="#stack">stack of open elements</a></span> is an
<code>optgroup</code> element, then act as if an end tag with the
tag name "option" had been seen, then reprocess the token.</p>
<p>First, if the <span><a href="#current3">current node</a></span> is
an <code>option</code> element, and the node immediately before it
in the <span><a href="#stack">stack of open elements</a></span> is
an <code>optgroup</code> element, then act as if an end tag with the
tag name "option" had been seen.</p>

<p>If the <span><a href="#current3">current node</a></span> is an
<code>optgroup</code> element, then pop that node from the <span><a
Expand Down Expand Up @@ -21374,8 +21374,9 @@ function receiver(e) {
<dt>An end-of-file token

<dd>
<p>Act as if an end tag token with the tag name "select" had been
seen, then reprocess the current token.</p>
<p><span><a href="#parse">Parse error</a></span>. Act as if an end
tag token with the tag name "select" had been seen, then reprocess
the current token.</p>

<dt>Anything else

Expand Down
19 changes: 9 additions & 10 deletions source
Expand Up @@ -19306,7 +19306,7 @@ function receiver(e) {

<p>If the <span>current node</span> is an <code>option</code>
element, act as if an end tag with the tag name "option" had
been seen, then reprocess the token.</p>
been seen.</p>

<p><span>Insert an HTML element</span> for the token.</p>

Expand All @@ -19315,11 +19315,11 @@ function receiver(e) {
<dt>An end tag token whose tag name is "optgroup"</dt>
<dd>

<p>If the <span>current node</span> is an <code>option</code>
element, and the node immediately before it in the <span>stack
of open elements</span> is an <code>optgroup</code> element,
then act as if an end tag with the tag name "option" had been
seen, then reprocess the token.</p>
<p>First, if the <span>current node</span> is an
<code>option</code> element, and the node immediately before
it in the <span>stack of open elements</span> is an
<code>optgroup</code> element, then act as if an end tag with
the tag name "option" had been seen.</p>

<p>If the <span>current node</span> is an
<code>optgroup</code> element, then pop that node from the
Expand Down Expand Up @@ -19384,10 +19384,9 @@ function receiver(e) {

<dt>An end-of-file token</dt>
<dd>

<p>Act as if an end tag token with the tag name "select" had
been seen, then reprocess the current token.</p>

<p><span>Parse error</span>. Act as if an end tag token with
the tag name "select" had been seen, then reprocess the
current token.</p>
</dd>

<dt>Anything else</dt>
Expand Down

0 comments on commit 5c85845

Please sign in to comment.