[html5] r8007 - [cgiow] (3) Fix more 'same tag name' issues (HTML parser). Fixing https://www.w3 [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Jul 1 16:43:33 PDT 2013


Author: ianh
Date: 2013-07-01 16:43:32 -0700 (Mon, 01 Jul 2013)
New Revision: 8007

Modified:
   complete.html
   index
   source
Log:
[cgiow] (3) Fix more 'same tag name' issues (HTML parser).
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=21308
Affected topics: HTML Syntax and Parsing

Modified: complete.html
===================================================================
--- complete.html	2013-07-01 23:37:59 UTC (rev 8006)
+++ complete.html	2013-07-01 23:43:32 UTC (rev 8007)
@@ -90238,7 +90238,7 @@
     an element in button scope">has a <code>p</code> element in button
     scope</a>, then <a href=#close-a-p-element>close a <code>p</code> element</a>.</p>
 
-    <p>If the <a href=#current-node>current node</a> is an element whose tag name
+    <p>If the <a href=#current-node>current node</a> is an <a href=#html-elements title="HTML elements">HTML element</a> whose tag name
     is one of "h1", "h2", "h3", "h4", "h5", or "h6", then this is a
     <a href=#parse-error>parse error</a>; pop the <a href=#current-node>current node</a> off
     the <a href=#stack-of-open-elements>stack of open elements</a>.</p>
@@ -90577,6 +90577,7 @@
    <dd>
 
     <p>If the <a href=#stack-of-open-elements>stack of open elements</a> does not <a href=#has-an-element-in-scope title="has an element in scope">have an element in scope</a>
+    that is an <a href=#html-elements title="HTML elements">HTML element</a> and
     whose tag name is one of "h1", "h2", "h3", "h4", "h5", or "h6",
     then this is a <a href=#parse-error>parse error</a>; ignore the token.</p>
 
@@ -90611,7 +90612,7 @@
    <dd>
 
     <p>If the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>
-    contains an element whose tag name is "a" between the end of
+    contains an <code><a href=#the-a-element>a</a></code> element between the end of
     the list and the last marker on the list (or the start of the
     list if there is no marker on the list), then this is a
     <a href=#parse-error>parse error</a>; run the <a href=#adoption-agency-algorithm>adoption agency

Modified: index
===================================================================
--- index	2013-07-01 23:37:59 UTC (rev 8006)
+++ index	2013-07-01 23:43:32 UTC (rev 8007)
@@ -90238,7 +90238,7 @@
     an element in button scope">has a <code>p</code> element in button
     scope</a>, then <a href=#close-a-p-element>close a <code>p</code> element</a>.</p>
 
-    <p>If the <a href=#current-node>current node</a> is an element whose tag name
+    <p>If the <a href=#current-node>current node</a> is an <a href=#html-elements title="HTML elements">HTML element</a> whose tag name
     is one of "h1", "h2", "h3", "h4", "h5", or "h6", then this is a
     <a href=#parse-error>parse error</a>; pop the <a href=#current-node>current node</a> off
     the <a href=#stack-of-open-elements>stack of open elements</a>.</p>
@@ -90577,6 +90577,7 @@
    <dd>
 
     <p>If the <a href=#stack-of-open-elements>stack of open elements</a> does not <a href=#has-an-element-in-scope title="has an element in scope">have an element in scope</a>
+    that is an <a href=#html-elements title="HTML elements">HTML element</a> and
     whose tag name is one of "h1", "h2", "h3", "h4", "h5", or "h6",
     then this is a <a href=#parse-error>parse error</a>; ignore the token.</p>
 
@@ -90611,7 +90612,7 @@
    <dd>
 
     <p>If the <a href=#list-of-active-formatting-elements>list of active formatting elements</a>
-    contains an element whose tag name is "a" between the end of
+    contains an <code><a href=#the-a-element>a</a></code> element between the end of
     the list and the last marker on the list (or the start of the
     list if there is no marker on the list), then this is a
     <a href=#parse-error>parse error</a>; run the <a href=#adoption-agency-algorithm>adoption agency

Modified: source
===================================================================
--- source	2013-07-01 23:37:59 UTC (rev 8006)
+++ source	2013-07-01 23:43:32 UTC (rev 8007)
@@ -100827,7 +100827,7 @@
     an element in button scope">has a <code>p</code> element in button
     scope</span>, then <span>close a <code>p</code> element</span>.</p>
 
-    <p>If the <span>current node</span> is an element whose tag name
+    <p>If the <span>current node</span> is an <span title="HTML elements">HTML element</span> whose tag name
     is one of "h1", "h2", "h3", "h4", "h5", or "h6", then this is a
     <span>parse error</span>; pop the <span>current node</span> off
     the <span>stack of open elements</span>.</p>
@@ -101218,6 +101218,7 @@
 
     <p>If the <span>stack of open elements</span> does not <span
     title="has an element in scope">have an element in scope</span>
+    that is an <span title="HTML elements">HTML element</span> and
     whose tag name is one of "h1", "h2", "h3", "h4", "h5", or "h6",
     then this is a <span>parse error</span>; ignore the token.</p>
 
@@ -101256,7 +101257,7 @@
    <dd>
 
     <p>If the <span>list of active formatting elements</span>
-    contains an element whose tag name is "a" between the end of
+    contains an <code>a</code> element between the end of
     the list and the last marker on the list (or the start of the
     list if there is no marker on the list), then this is a
     <span>parse error</span>; run the <span>adoption agency




More information about the Commit-Watchers mailing list