Skip to content

Commit

Permalink
[t] (2) Let </p> and </br> tags through the first few insertion modes…
Browse files Browse the repository at this point in the history
…; make </p> be one parse error not two.

git-svn-id: http://svn.whatwg.org/webapps@963 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 27, 2007
1 parent 5270eb8 commit e6b859f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
12 changes: 9 additions & 3 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -36323,7 +36323,8 @@ simplified explanation instead:
title="insertion mode: in head">in head</a>" <a
href="#insertion0">insertion mode</a>.</p>

<dt>An end tag whose tag name is one of: "head", "body", "html"
<dt>An end tag whose tag name is one of: "head", "body", "html", "p",
"br"

<dd>
<p>Act as if a start tag token with the tag name "head" and no
Expand Down Expand Up @@ -36569,7 +36570,7 @@ simplified explanation instead:
<p>Change the <a href="#insertion0">insertion mode</a> to "<a
href="#after3" title="insertion mode: after head">after head</a>".</p>

<dt>An end tag whose tag name is one of: "body", "html"
<dt>An end tag whose tag name is one of: "body", "html", "p", "br"

<dd>
<p>Act as described in the "anything else" entry below.</p>
Expand Down Expand Up @@ -36624,6 +36625,11 @@ simplified explanation instead:
mode</a> had been "<a href="#in-head" title="insertion mode: in
head">in head</a>".</p>

<dt>An end tag whose tag name is one of: "p", "br"

<dd>
<p>Act as described in the "anything else" entry below.</p>

<dt>A start tag whose tag name is one of: "head", "noscript"

<dt>Any other end tag
Expand Down Expand Up @@ -37024,7 +37030,7 @@ simplified explanation instead:

<p>Otherwise, act as if a start tag with the tag name <code><a
href="#p">p</a></code> had been seen, then reprocess the current
token. This is a <a href="#parse">parse error</a>.</p>
token.</p>

<dt>An end tag whose tag name is one of: "dd", "dt", "li"

Expand Down
11 changes: 8 additions & 3 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -33451,7 +33451,7 @@ simplified explanation instead:

</dd>

<dt>An end tag whose tag name is one of: "head", "body", "html"</dt>
<dt>An end tag whose tag name is one of: "head", "body", "html", "p", "br"</dt>
<dd>

<p>Act as if a start tag token with the tag name "head" and no
Expand Down Expand Up @@ -33709,7 +33709,7 @@ simplified explanation instead:

</dd>

<dt>An end tag whose tag name is one of: "body", "html"</dt>
<dt>An end tag whose tag name is one of: "body", "html", "p", "br"</dt>
<dd>
<p>Act as described in the "anything else" entry below.</p>
</dd>
Expand Down Expand Up @@ -33769,6 +33769,11 @@ simplified explanation instead:
head</span>".</p>
</dd>

<dt>An end tag whose tag name is one of: "p", "br"</dt>
<dd>
<p>Act as described in the "anything else" entry below.</p>
</dd>

<dt>A start tag whose tag name is one of: "head", "noscript"</dt>
<dt>Any other end tag</dt>
<dd>
Expand Down Expand Up @@ -34187,7 +34192,7 @@ simplified explanation instead:

<p>Otherwise, act as if a start tag with the tag name
<code>p</code> had been seen, then reprocess the current
token. This is a <span>parse error</span>.</p>
token.</p>

</dd>

Expand Down

0 comments on commit e6b859f

Please sign in to comment.