Skip to content

Commit

Permalink
[cgowt] (2) Made <h1> headers nest. PLEASE GIVE ME FEEDBACK ON THIS C…
Browse files Browse the repository at this point in the history
…HANGE.

git-svn-id: http://svn.whatwg.org/webapps@926 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 19, 2007
1 parent 71f8237 commit cfad1bf
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
20 changes: 12 additions & 8 deletions index
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -36972,14 +36972,18 @@ simplified explanation instead:
href="#have-an" title="has an element in scope">has a <code>p</code> href="#have-an" title="has an element in scope">has a <code>p</code>
element in scope</a>, then act as if an end tag with the tag name element in scope</a>, then act as if an end tag with the tag name
<code><a href="#p">p</a></code> had been seen.</p> <code><a href="#p">p</a></code> had been seen.</p>

<!-- Removed for compatibility with IE7, though all other
<p>If the <a href="#stack">stack of open elements</a> <a browsers do it this way. If you do put this back, make
href="#have-an" title="has an element in scope">has in scope</a> an sure to handle <h1><a><h2>, as in Webkit bug 12646.
element whose tag name is one of "h1", "h2", "h3", "h4", "h5", or http://bugs.webkit.org/show_bug.cgi?id=12646
"h6", then this is a <a href="#parse">parse error</a>; pop elements <p>If the <span>stack of open elements</span> <span title="has
from the stack until an element with one of those tag names has been an element in scope">has in scope</span> an element whose tag
popped from the stack.</p> name is one of "h1", "h2", "h3", "h4", "h5", or "h6", then

this is a <span>parse error</span>; pop elements from the
stack until an element with one of those tag names has been
popped from the stack.</p>
-->

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


Expand Down
5 changes: 5 additions & 0 deletions source
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -34225,12 +34225,17 @@ simplified explanation instead:
scope</span>, then act as if an end tag with the tag name scope</span>, then act as if an end tag with the tag name
<code>p</code> had been seen.</p> <code>p</code> had been seen.</p>


<!-- Removed for compatibility with IE7, though all other
browsers do it this way. If you do put this back, make
sure to handle <h1><a><h2>, as in Webkit bug 12646.
http://bugs.webkit.org/show_bug.cgi?id=12646
<p>If the <span>stack of open elements</span> <span title="has <p>If the <span>stack of open elements</span> <span title="has
an element in scope">has in scope</span> an element whose tag an element in scope">has in scope</span> an element whose tag
name is one of "h1", "h2", "h3", "h4", "h5", or "h6", then name is one of "h1", "h2", "h3", "h4", "h5", or "h6", then
this is a <span>parse error</span>; pop elements from the this is a <span>parse error</span>; pop elements from the
stack until an element with one of those tag names has been stack until an element with one of those tag names has been
popped from the stack.</p> popped from the stack.</p>
-->


<p><span title="insert an html element">Insert an HTML <p><span title="insert an html element">Insert an HTML
element</span> for the token.</p> element</span> for the token.</p>
Expand Down

0 comments on commit cfad1bf

Please sign in to comment.