[html5] r7900 - [e] (0) Remove some comments to make this more consistent. It's highly unlikely [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Jun 4 13:58:15 PDT 2013


Author: ianh
Date: 2013-06-04 13:58:14 -0700 (Tue, 04 Jun 2013)
New Revision: 7900

Modified:
   complete.html
   index
   source
Log:
[e] (0) Remove some comments to make this more consistent. It's highly unlikely that this will change anyway.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=21769
Affected topics: HTML Syntax and Parsing

Modified: complete.html
===================================================================
--- complete.html	2013-06-04 20:55:35 UTC (rev 7899)
+++ complete.html	2013-06-04 20:58:14 UTC (rev 7900)
@@ -85134,6 +85134,7 @@
 
 
   <div class=impl>
+<!--CLEANUP-->
 
   <h4 id=parse-state><span class=secno>12.2.3 </span>Parse state</h4>
 
@@ -85251,15 +85252,10 @@
    these steps. (<a href=#fragment-case>fragment case</a>)</li>
 
    <li>If <var title="">node</var> is an <code><a href=#the-html-element>html</a></code> element,
-   then <!--: if the <span><code title="">head</code> element
-   pointer</span> is null,--> switch the <a href=#insertion-mode>insertion mode</a>
+   then switch the <a href=#insertion-mode>insertion mode</a>
    to "<a href=#the-before-head-insertion-mode title="insertion mode: before head">before
-   head</a>"<!--, otherwise, switch the <span>insertion mode</span>
-   to "<span title="insertion mode: after head">after head</span>".-->
-   Then, <!-- in either case, --> abort these steps. (<a href=#fragment-case>fragment
-   case</a>)</li> <!-- if the head element pointer can ever be
-   non-null when we're going through these steps, we'll need to
-   uncomment out the commented-out bits -->
+   head</a>" and abort these steps. (<a href=#fragment-case>fragment
+   case</a>)</li>
 
    <li>If <var title="">last</var> is true, then switch the
    <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inbody title="insertion mode: in

Modified: index
===================================================================
--- index	2013-06-04 20:55:35 UTC (rev 7899)
+++ index	2013-06-04 20:58:14 UTC (rev 7900)
@@ -85134,6 +85134,7 @@
 
 
   <div class=impl>
+<!--CLEANUP-->
 
   <h4 id=parse-state><span class=secno>12.2.3 </span>Parse state</h4>
 
@@ -85251,15 +85252,10 @@
    these steps. (<a href=#fragment-case>fragment case</a>)</li>
 
    <li>If <var title="">node</var> is an <code><a href=#the-html-element>html</a></code> element,
-   then <!--: if the <span><code title="">head</code> element
-   pointer</span> is null,--> switch the <a href=#insertion-mode>insertion mode</a>
+   then switch the <a href=#insertion-mode>insertion mode</a>
    to "<a href=#the-before-head-insertion-mode title="insertion mode: before head">before
-   head</a>"<!--, otherwise, switch the <span>insertion mode</span>
-   to "<span title="insertion mode: after head">after head</span>".-->
-   Then, <!-- in either case, --> abort these steps. (<a href=#fragment-case>fragment
-   case</a>)</li> <!-- if the head element pointer can ever be
-   non-null when we're going through these steps, we'll need to
-   uncomment out the commented-out bits -->
+   head</a>" and abort these steps. (<a href=#fragment-case>fragment
+   case</a>)</li>
 
    <li>If <var title="">last</var> is true, then switch the
    <a href=#insertion-mode>insertion mode</a> to "<a href=#parsing-main-inbody title="insertion mode: in

Modified: source
===================================================================
--- source	2013-06-04 20:55:35 UTC (rev 7899)
+++ source	2013-06-04 20:58:14 UTC (rev 7900)
@@ -95043,6 +95043,7 @@
 
 
   <div class="impl">
+<!--CLEANUP-->
 
   <h4>Parse state</h4>
 
@@ -95180,15 +95181,10 @@
    these steps. (<span>fragment case</span>)</li>
 
    <li>If <var title="">node</var> is an <code>html</code> element,
-   then <!--: if the <span><code title="">head</code> element
-   pointer</span> is null,--> switch the <span>insertion mode</span>
+   then switch the <span>insertion mode</span>
    to "<span title="insertion mode: before head">before
-   head</span>"<!--, otherwise, switch the <span>insertion mode</span>
-   to "<span title="insertion mode: after head">after head</span>".-->
-   Then, <!-- in either case, --> abort these steps. (<span>fragment
-   case</span>)</li> <!-- if the head element pointer can ever be
-   non-null when we're going through these steps, we'll need to
-   uncomment out the commented-out bits -->
+   head</span>" and abort these steps. (<span>fragment
+   case</span>)</li>
 
    <li>If <var title="">last</var> is true, then switch the
    <span>insertion mode</span> to "<span title="insertion mode: in




More information about the Commit-Watchers mailing list