[html5] r1318 - /
whatwg at whatwg.org
whatwg at whatwg.org
Sun Mar 2 20:34:51 PST 2008
Author: ianh
Date: 2008-03-02 20:34:48 -0800 (Sun, 02 Mar 2008)
New Revision: 1318
Modified:
index
source
Log:
[e] (2) remove redundancy (<div> and <h1> are treated the same)
Modified: index
===================================================================
--- index 2008-03-03 04:11:17 UTC (rev 1317)
+++ index 2008-03-03 04:34:48 UTC (rev 1318)
@@ -42025,8 +42025,8 @@
href="#fragment">fragment case</a>.</p>
<dt>A start tag whose tag name is one of: "address", "blockquote",
- "center", "dir", "div", "dl", "fieldset", "listing", "menu", "ol", "p",
- "ul"
+ "center", "dir", "div", "dl", "fieldset", "h1", "h2", "h3", "h4", "h5",
+ "h6", "listing", "menu", "ol", "p", "ul"
<dd>
<p class=big-issue>This doesn't match browsers.</p>
@@ -42037,7 +42037,19 @@
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 <code><a
href="#p">p</a></code> had been seen.</p>
-
+ <!-- (only applies to <h1>-<h6>)
+ 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
+ an element in scope">has in scope</span> an element whose tag
+ 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
element</a> for the token.</p>
@@ -42268,29 +42280,6 @@
tag name of the token, then pop elements from this stack until an
element with that tag name has been popped from the stack.</p>
- <dt>A start tag whose tag name is one of: "h1", "h2", "h3", "h4", "h5",
- "h6"
-
- <dd>
- <p>If the <a href="#stack">stack of open elements</a> <a 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 <code><a
- href="#p">p</a></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
- an element in scope">has in scope</span> an element whose tag
- 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
- element</a> for the token.</p>
-
<dt>An end tag whose tag name is one of: "h1", "h2", "h3", "h4", "h5",
"h6"
Modified: source
===================================================================
--- source 2008-03-03 04:11:17 UTC (rev 1317)
+++ source 2008-03-03 04:34:48 UTC (rev 1318)
@@ -39167,9 +39167,9 @@
</dd>
- <dt>A start tag whose tag name is one of: "address",
- "blockquote", "center", "dir", "div", "dl", "fieldset",
- "listing", "menu", "ol", "p", "ul"</dt>
+ <dt>A start tag whose tag name is one of: "address", "blockquote",
+ "center", "dir", "div", "dl", "fieldset", "h1", "h2", "h3", "h4",
+ "h5", "h6", "listing", "menu", "ol", "p", "ul"</dt>
<dd>
<p class="big-issue">This doesn't match browsers.</p>
@@ -39181,6 +39181,19 @@
scope</span>, then act as if an end tag with the tag name
<code>p</code> had been seen.</p>
+ <!-- (only applies to <h1>-<h6>)
+ 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
+ an element in scope">has in scope</span> an element whose tag
+ 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><span title="insert an html element">Insert an HTML
element</span> for the token.</p>
@@ -39426,32 +39439,6 @@
</dd>
- <dt>A start tag whose tag name is one of: "h1", "h2", "h3",
- "h4", "h5", "h6"</dt>
- <dd>
-
- <p>If the <span>stack of open elements</span> <span title="has
- an element in scope">has a <code>p</code> element in
- scope</span>, then act as if an end tag with the tag name
- <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
- an element in scope">has in scope</span> an element whose tag
- 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><span title="insert an html element">Insert an HTML
- element</span> for the token.</p>
-
- </dd>
-
<dt>An end tag whose tag name is one of: "h1", "h2", "h3",
"h4", "h5", "h6"</dt>
<dd>
More information about the Commit-Watchers
mailing list