[html5] r926 - /

whatwg at whatwg.org whatwg at whatwg.org
Tue Jun 19 03:13:30 PDT 2007


Author: ianh
Date: 2007-06-19 03:13:29 -0700 (Tue, 19 Jun 2007)
New Revision: 926

Modified:
   index
   source
Log:
[cgowt] (2) Made <h1> headers nest. PLEASE GIVE ME FEEDBACK ON THIS CHANGE.

Modified: index
===================================================================
--- index	2007-06-19 09:46:26 UTC (rev 925)
+++ index	2007-06-19 10:13:29 UTC (rev 926)
@@ -36972,14 +36972,18 @@
          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>
-
-        <p>If the <a href="#stack">stack of open elements</a> <a
-         href="#have-an" title="has an element in scope">has in scope</a> an
-         element whose tag name is one of "h1", "h2", "h3", "h4", "h5", or
-         "h6", then this is a <a href="#parse">parse error</a>; pop elements
-         from the stack until an element with one of those tag names has been
-         popped from the stack.</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>
 

Modified: source
===================================================================
--- source	2007-06-19 09:46:26 UTC (rev 925)
+++ source	2007-06-19 10:13:29 UTC (rev 926)
@@ -34225,12 +34225,17 @@
         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>




More information about the Commit-Watchers mailing list