Skip to content

Commit

Permalink
[cgowt] (2) Make </p> and </br> introduce corresponding empty element…
Browse files Browse the repository at this point in the history
…s for compatibility with IE

git-svn-id: http://svn.whatwg.org/webapps@961 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 26, 2007
1 parent ea5d8a6 commit 433fbf0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 24 deletions.
27 changes: 10 additions & 17 deletions index
Expand Up @@ -22,7 +22,7 @@

<h1 id=html-5>HTML 5</h1>

<h2 class="no-num no-toc" id=working>Working Draft &mdash; 23 June 2007</h2>
<h2 class="no-num no-toc" id=working>Working Draft &mdash; 26 June 2007</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 @@ -2609,9 +2609,6 @@
<ul>
<li>Comment parsing is different.

<li><code title="">&lt;/br></code> and <code title="">&lt;/p></code> do
magical things.

<li><code><a href="#p">p</a></code> can contain <code><a
href="#table">table</a></code>

Expand Down Expand Up @@ -37024,12 +37021,10 @@ simplified explanation instead:
element in scope</a>, then pop elements from this stack until the
stack no longer <a href="#have-an" title="has an element in
scope">has a <code>p</code> element in scope</a>.</p>
<!-- XXX quirk:
<p>Otherwise, act as if a start tag with the tag name
<code>p</code> had been seen, then reprocess the current
token.</p>
-->


<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.</p>

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

Expand Down Expand Up @@ -37574,14 +37569,12 @@ simplified explanation instead:

<p>Change the <a href="#insertion0">insertion mode</a> to "<a
href="#in-select" title="insertion mode: in select">in select</a>".</p>
</dd>
<!-- XXX quirks:
<dt>An end tag whose tag name is "br"</dt>

<dt>An end tag whose tag name is "br"

<dd>
<p>Act as if a start tag token with the tag name "br" had been
seen. Ignore the end tag token.</p>
</dd>
-->
<p>Act as if a start tag token with the tag name "br" had been seen.
Ignore the end tag token.</p>

<dt>A start or end tag whose tag name is one of: "caption", "col",
"colgroup", "frame", "frameset", "head", "option", "optgroup",
Expand Down
7 changes: 0 additions & 7 deletions source
Expand Up @@ -1128,9 +1128,6 @@

<li>Comment parsing is different.</li>

<li><code title="">&lt;/br></code> and <code title="">&lt;/p></code> do magical
things.</li>

<li><code>p</code> can contain <code>table</code></li>

<li>Safari and IE have special parsing rules for &lt;% ... %&gt;
Expand Down Expand Up @@ -34188,11 +34185,9 @@ simplified explanation instead:
stack no longer <span title="has an element in scope">has a
<code>p</code> element in scope</span>.</p>

<!-- XXX quirk:
<p>Otherwise, act as if a start tag with the tag name
<code>p</code> had been seen, then reprocess the current
token.</p>
-->

</dd>

Expand Down Expand Up @@ -34780,13 +34775,11 @@ simplified explanation instead:

</dd>

<!-- XXX quirks:
<dt>An end tag whose tag name is "br"</dt>
<dd>
<p>Act as if a start tag token with the tag name "br" had been
seen. Ignore the end tag token.</p>
</dd>
-->

<dt>A start or end tag whose tag name is one of: "caption",
"col", "colgroup", "frame", "frameset", "head", "option",
Expand Down

0 comments on commit 433fbf0

Please sign in to comment.