hixie: Nuke the comment end space state. (whatwg r5513)

hixie: Nuke the comment end space state. (whatwg r5513)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4402&r2=1.4403&f=h
http://html5.org/tools/web-apps-tracker?from=5512&to=5513

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4402
retrieving revision 1.4403
diff -u -d -r1.4402 -r1.4403
--- Overview.html 26 Sep 2010 16:38:10 -0000 1.4402
+++ Overview.html 26 Sep 2010 16:50:12 -0000 1.4403
@@ -1138,25 +1138,24 @@
        <li><a href="#comment-end-dash-state"><span class="secno">8.2.4.49 </span>Comment end dash state</a></li>
        <li><a href="#comment-end-state"><span class="secno">8.2.4.50 </span>Comment end state</a></li>
        <li><a href="#comment-end-bang-state"><span class="secno">8.2.4.51 </span>Comment end bang state</a></li>
-       <li><a href="#comment-end-space-state"><span class="secno">8.2.4.52 </span>Comment end space state</a></li>
-       <li><a href="#doctype-state"><span class="secno">8.2.4.53 </span>DOCTYPE state</a></li>
-       <li><a href="#before-doctype-name-state"><span class="secno">8.2.4.54 </span>Before DOCTYPE name state</a></li>
-       <li><a href="#doctype-name-state"><span class="secno">8.2.4.55 </span>DOCTYPE name state</a></li>
-       <li><a href="#after-doctype-name-state"><span class="secno">8.2.4.56 </span>After DOCTYPE name state</a></li>
-       <li><a href="#after-doctype-public-keyword-state"><span class="secno">8.2.4.57 </span>After DOCTYPE public keyword state</a></li>
-       <li><a href="#before-doctype-public-identifier-state"><span class="secno">8.2.4.58 </span>Before DOCTYPE public identifier state</a></li>
-       <li><a href="#doctype-public-identifier-double-quoted-state"><span class="secno">8.2.4.59 </span>DOCTYPE public identifier (double-quoted) state</a></li>
-       <li><a href="#doctype-public-identifier-single-quoted-state"><span class="secno">8.2.4.60 </span>DOCTYPE public identifier (single-quoted) state</a></li>
-       <li><a href="#after-doctype-public-identifier-state"><span class="secno">8.2.4.61 </span>After DOCTYPE public identifier state</a></li>
-       <li><a href="#between-doctype-public-and-system-identifiers-state"><span class="secno">8.2.4.62 </span>Between DOCTYPE public and system identifiers state</a></li>
-       <li><a href="#after-doctype-system-keyword-state"><span class="secno">8.2.4.63 </span>After DOCTYPE system keyword state</a></li>
-       <li><a href="#before-doctype-system-identifier-state"><span class="secno">8.2.4.64 </span>Before DOCTYPE system identifier state</a></li>
-       <li><a href="#doctype-system-identifier-double-quoted-state"><span class="secno">8.2.4.65 </span>DOCTYPE system identifier (double-quoted) state</a></li>
-       <li><a href="#doctype-system-identifier-single-quoted-state"><span class="secno">8.2.4.66 </span>DOCTYPE system identifier (single-quoted) state</a></li>
-       <li><a href="#after-doctype-system-identifier-state"><span class="secno">8.2.4.67 </span>After DOCTYPE system identifier state</a></li>
-       <li><a href="#bogus-doctype-state"><span class="secno">8.2.4.68 </span>Bogus DOCTYPE state</a></li>
-       <li><a href="#cdata-section-state"><span class="secno">8.2.4.69 </span>CDATA section state</a></li>
-       <li><a href="#tokenizing-character-references"><span class="secno">8.2.4.70 </span>Tokenizing character references</a></ol></li>
+       <li><a href="#doctype-state"><span class="secno">8.2.4.52 </span>DOCTYPE state</a></li>
+       <li><a href="#before-doctype-name-state"><span class="secno">8.2.4.53 </span>Before DOCTYPE name state</a></li>
+       <li><a href="#doctype-name-state"><span class="secno">8.2.4.54 </span>DOCTYPE name state</a></li>
+       <li><a href="#after-doctype-name-state"><span class="secno">8.2.4.55 </span>After DOCTYPE name state</a></li>
+       <li><a href="#after-doctype-public-keyword-state"><span class="secno">8.2.4.56 </span>After DOCTYPE public keyword state</a></li>
+       <li><a href="#before-doctype-public-identifier-state"><span class="secno">8.2.4.57 </span>Before DOCTYPE public identifier state</a></li>
+       <li><a href="#doctype-public-identifier-double-quoted-state"><span class="secno">8.2.4.58 </span>DOCTYPE public identifier (double-quoted) state</a></li>
+       <li><a href="#doctype-public-identifier-single-quoted-state"><span class="secno">8.2.4.59 </span>DOCTYPE public identifier (single-quoted) state</a></li>
+       <li><a href="#after-doctype-public-identifier-state"><span class="secno">8.2.4.60 </span>After DOCTYPE public identifier state</a></li>
+       <li><a href="#between-doctype-public-and-system-identifiers-state"><span class="secno">8.2.4.61 </span>Between DOCTYPE public and system identifiers state</a></li>
+       <li><a href="#after-doctype-system-keyword-state"><span class="secno">8.2.4.62 </span>After DOCTYPE system keyword state</a></li>
+       <li><a href="#before-doctype-system-identifier-state"><span class="secno">8.2.4.63 </span>Before DOCTYPE system identifier state</a></li>
+       <li><a href="#doctype-system-identifier-double-quoted-state"><span class="secno">8.2.4.64 </span>DOCTYPE system identifier (double-quoted) state</a></li>
+       <li><a href="#doctype-system-identifier-single-quoted-state"><span class="secno">8.2.4.65 </span>DOCTYPE system identifier (single-quoted) state</a></li>
+       <li><a href="#after-doctype-system-identifier-state"><span class="secno">8.2.4.66 </span>After DOCTYPE system identifier state</a></li>
+       <li><a href="#bogus-doctype-state"><span class="secno">8.2.4.67 </span>Bogus DOCTYPE state</a></li>
+       <li><a href="#cdata-section-state"><span class="secno">8.2.4.68 </span>CDATA section state</a></li>
+       <li><a href="#tokenizing-character-references"><span class="secno">8.2.4.69 </span>Tokenizing character references</a></ol></li>
      <li><a href="#tree-construction"><span class="secno">8.2.5 </span>Tree construction</a>
       <ol>
        <li><a href="#creating-and-inserting-elements"><span class="secno">8.2.5.1 </span>Creating and inserting elements</a></li>
@@ -55969,16 +55968,6 @@
    <dd>Switch to the <a href="#data-state">data state</a>. Emit the comment
    token.</dd>
 
-   <dt>U+0009 CHARACTER TABULATION</dt>
-   <dt>U+000A LINE FEED (LF)</dt>
-   <dt>U+000C FORM FEED (FF)</dt>
-   <!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
-   <dt>U+0020 SPACE</dt>
-   <dd><a href="#parse-error">Parse error</a>. Append two U+002D HYPHEN-MINUS
-   characters (-) and the <a href="#current-input-character">current input character</a> to the
-   comment token's data. Switch to the <a href="#comment-end-space-state">comment end space
-   state</a>.</dd>
-
    <dt>U+0021 EXCLAMATION MARK (!)</dt>
    <dd><a href="#parse-error">Parse error</a>. Switch to the <a href="#comment-end-bang-state">comment end bang
    state</a>.</dd>
@@ -56025,34 +56014,7 @@
    character</a> to the comment token's data. Switch to the
    <a href="#comment-state">comment state</a>.</dd>
 
-  </dl><h5 id="comment-end-space-state"><span class="secno">8.2.4.52 </span><dfn>Comment end space state</dfn></h5>
-
-  <p>Consume the <a href="#next-input-character">next input character</a>:</p>
-
-  <dl class="switch"><dt>U+0009 CHARACTER TABULATION</dt>
-   <dt>U+000A LINE FEED (LF)</dt>
-   <dt>U+000C FORM FEED (FF)</dt>
-   <!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
-   <dt>U+0020 SPACE</dt>
-   <dd>Append the <a href="#current-input-character">current input character</a> to the comment token's data.</dd>
-
-   <dt>U+002D HYPHEN-MINUS (-)</dt>
-   <dd>Switch to the <a href="#comment-end-dash-state">comment end dash state</a>.</dd>
-
-   <dt>U+003E GREATER-THAN SIGN (&gt;)</dt>
-   <dd>Switch to the <a href="#data-state">data state</a>. Emit the comment
-   token.</dd>
-
-   <dt>EOF</dt>
-   <dd><a href="#parse-error">Parse error</a>. Emit the comment token. Reconsume
-   the EOF character in the <a href="#data-state">data state</a>.</dd> <!-- see
-   comment in comment end state -->
-
-   <dt>Anything else</dt>
-   <dd>Append the <a href="#current-input-character">current input character</a> to the comment token's data. Switch
-   to the <a href="#comment-state">comment state</a>.</dd>
-
-  </dl><h5 id="doctype-state"><span class="secno">8.2.4.53 </span><dfn>DOCTYPE state</dfn></h5>
+  </dl><h5 id="doctype-state"><span class="secno">8.2.4.52 </span><dfn>DOCTYPE state</dfn></h5>
 
   <p>Consume the <a href="#next-input-character">next input character</a>:</p>
 
@@ -56072,7 +56034,7 @@
    <dd><a href="#parse-error">Parse error</a>. Reconsume the character in the
    <a href="#before-doctype-name-state">before DOCTYPE name state</a>.</dd>
 
-  </dl><h5 id="before-doctype-name-state"><span class="secno">8.2.4.54 </span><dfn>Before DOCTYPE name state</dfn></h5>
+  </dl><h5 id="before-doctype-name-state"><span class="secno">8.2.4.53 </span><dfn>Before DOCTYPE name state</dfn></h5>
 
   <p>Consume the <a href="#next-input-character">next input character</a>:</p>
 
@@ -56104,7 +56066,7 @@
    <a href="#current-input-character">current input character</a>. Switch to the <a href="#doctype-name-state">DOCTYPE name
    state</a>.</dd>
 
-  </dl><h5 id="doctype-name-state"><span class="secno">8.2.4.55 </span><dfn>DOCTYPE name state</dfn></h5>
+  </dl><h5 id="doctype-name-state"><span class="secno">8.2.4.54 </span><dfn>DOCTYPE name state</dfn></h5>
 
   <p>Consume the <a href="#next-input-character">next input character</a>:</p>
 
@@ -56133,7 +56095,7 @@
    <dd>Append the <a href="#current-input-character">current input character</a> to the current
    DOCTYPE token's name.</dd>
 
-  </dl><h5 id="after-doctype-name-state"><span class="secno">8.2.4.56 </span><dfn>After DOCTYPE name state</dfn></h5>
+  </dl><h5 id="after-doctype-name-state"><span class="secno">8.2.4.55 </span><dfn>After DOCTYPE name state</dfn></h5>
 
   <p>Consume the <a href="#next-input-character">next input character</a>:</p>
 
@@ -56173,7 +56135,7 @@
 
    </dd>
 
-  </dl><h5 id="after-doctype-public-keyword-state"><span class="secno">8.2.4.57 </span><dfn>After DOCTYPE public keyword state</dfn></h5>
+  </dl><h5 id="after-doctype-public-keyword-state"><span class="secno">8.2.4.56 </span><dfn>After DOCTYPE public keyword state</dfn></h5>
 
   <p>Consume the <a href="#next-input-character">next input character</a>:</p>
 
@@ -56210,7 +56172,7 @@
    <i>force-quirks flag</i> to <i>on</i>. Switch to the <a href="#bogus-doctype-state">bogus
    DOCTYPE state</a>.</dd>
 
-  </dl><h5 id="before-doctype-public-identifier-state"><span class="secno">8.2.4.58 </span><dfn>Before DOCTYPE public identifier state</dfn></h5>
+  </dl><h5 id="before-doctype-public-identifier-state"><span class="secno">8.2.4.57 </span><dfn>Before DOCTYPE public identifier state</dfn></h5>
 
   <p>Consume the <a href="#next-input-character">next input character</a>:</p>
 
@@ -56246,7 +56208,7 @@
    <i>force-quirks flag</i> to <i>on</i>. Switch to the <a href="#bogus-doctype-state">bogus
    DOCTYPE state</a>.</dd>
 
-  </dl><h5 id="doctype-public-identifier-double-quoted-state"><span class="secno">8.2.4.59 </span><dfn>DOCTYPE public identifier (double-quoted) state</dfn></h5>
+  </dl><h5 id="doctype-public-identifier-double-quoted-state"><span class="secno">8.2.4.58 </span><dfn>DOCTYPE public identifier (double-quoted) state</dfn></h5>
 
   <p>Consume the <a href="#next-input-character">next input character</a>:</p>
 
@@ -56267,7 +56229,7 @@
    <dd>Append the <a href="#current-input-character">current input character</a> to the current DOCTYPE
    token's public identifier.</dd>
 
-  </dl><h5 id="doctype-public-identifier-single-quoted-state"><span class="secno">8.2.4.60 </span><dfn>DOCTYPE public identifier (single-quoted) state</dfn></h5>
+  </dl><h5 id="doctype-public-identifier-single-quoted-state"><span class="secno">8.2.4.59 </span><dfn>DOCTYPE public identifier (single-quoted) state</dfn></h5>
 
   <p>Consume the <a href="#next-input-character">next input character</a>:</p>
 
@@ -56288,7 +56250,7 @@
    <dd>Append the <a href="#current-input-character">current input character</a> to the current DOCTYPE
    token's public identifier.</dd>
 
-  </dl><h5 id="after-doctype-public-identifier-state"><span class="secno">8.2.4.61 </span><dfn>After DOCTYPE public identifier state</dfn></h5>
+  </dl><h5 id="after-doctype-public-identifier-state"><span class="secno">8.2.4.60 </span><dfn>After DOCTYPE public identifier state</dfn></h5>
 
   <p>Consume the <a href="#next-input-character">next input character</a>:</p>
 
@@ -56324,7 +56286,7 @@
    <i>force-quirks flag</i> to <i>on</i>. Switch to the <a href="#bogus-doctype-state">bogus
    DOCTYPE state</a>.</dd>
 
-  </dl><h5 id="between-doctype-public-and-system-identifiers-state"><span class="secno">8.2.4.62 </span><dfn>Between DOCTYPE public and system identifiers state</dfn></h5>
+  </dl><h5 id="between-doctype-public-and-system-identifiers-state"><span class="secno">8.2.4.61 </span><dfn>Between DOCTYPE public and system identifiers state</dfn></h5>
 
   <p>Consume the <a href="#next-input-character">next input character</a>:</p>
 
@@ -56359,7 +56321,7 @@
    <i>force-quirks flag</i> to <i>on</i>. Switch to the <a href="#bogus-doctype-state">bogus
    DOCTYPE state</a>.</dd>
 
-  </dl><h5 id="after-doctype-system-keyword-state"><span class="secno">8.2.4.63 </span><dfn>After DOCTYPE system keyword state</dfn></h5>
+  </dl><h5 id="after-doctype-system-keyword-state"><span class="secno">8.2.4.62 </span><dfn>After DOCTYPE system keyword state</dfn></h5>
 
   <p>Consume the <a href="#next-input-character">next input character</a>:</p>
 
@@ -56396,7 +56358,7 @@
    <i>force-quirks flag</i> to <i>on</i>. Switch to the <a href="#bogus-doctype-state">bogus
    DOCTYPE state</a>.</dd>
 
-  </dl><h5 id="before-doctype-system-identifier-state"><span class="secno">8.2.4.64 </span><dfn>Before DOCTYPE system identifier state</dfn></h5>
+  </dl><h5 id="before-doctype-system-identifier-state"><span class="secno">8.2.4.63 </span><dfn>Before DOCTYPE system identifier state</dfn></h5>
 
   <p>Consume the <a href="#next-input-character">next input character</a>:</p>
 
@@ -56432,7 +56394,7 @@
    <i>force-quirks flag</i> to <i>on</i>. Switch to the <a href="#bogus-doctype-state">bogus
    DOCTYPE state</a>.</dd>
 
-  </dl><h5 id="doctype-system-identifier-double-quoted-state"><span class="secno">8.2.4.65 </span><dfn>DOCTYPE system identifier (double-quoted) state</dfn></h5>
+  </dl><h5 id="doctype-system-identifier-double-quoted-state"><span class="secno">8.2.4.64 </span><dfn>DOCTYPE system identifier (double-quoted) state</dfn></h5>
 
   <p>Consume the <a href="#next-input-character">next input character</a>:</p>
 
@@ -56454,7 +56416,7 @@
    <dd>Append the <a href="#current-input-character">current input character</a> to the current
    DOCTYPE token's system identifier.</dd>
 
-  </dl><h5 id="doctype-system-identifier-single-quoted-state"><span class="secno">8.2.4.66 </span><dfn>DOCTYPE system identifier (single-quoted) state</dfn></h5>
+  </dl><h5 id="doctype-system-identifier-single-quoted-state"><span class="secno">8.2.4.65 </span><dfn>DOCTYPE system identifier (single-quoted) state</dfn></h5>
 
   <p>Consume the <a href="#next-input-character">next input character</a>:</p>
 
@@ -56476,7 +56438,7 @@
    <dd>Append the <a href="#current-input-character">current input character</a> to the current
    DOCTYPE token's system identifier.</dd>
 
-  </dl><h5 id="after-doctype-system-identifier-state"><span class="secno">8.2.4.67 </span><dfn>After DOCTYPE system identifier state</dfn></h5>
+  </dl><h5 id="after-doctype-system-identifier-state"><span class="secno">8.2.4.66 </span><dfn>After DOCTYPE system identifier state</dfn></h5>
 
   <p>Consume the <a href="#next-input-character">next input character</a>:</p>
 
@@ -56501,7 +56463,7 @@
    state</a>. (This does <em>not</em> set the DOCTYPE token's
    <i>force-quirks flag</i> to <i>on</i>.)</dd>
 
-  </dl><h5 id="bogus-doctype-state"><span class="secno">8.2.4.68 </span><dfn>Bogus DOCTYPE state</dfn></h5>
+  </dl><h5 id="bogus-doctype-state"><span class="secno">8.2.4.67 </span><dfn>Bogus DOCTYPE state</dfn></h5>
 
   <p>Consume the <a href="#next-input-character">next input character</a>:</p>
 
@@ -56516,7 +56478,7 @@
    <dt>Anything else</dt>
    <dd>Ignore the character.</dd>
 
-  </dl><h5 id="cdata-section-state"><span class="secno">8.2.4.69 </span><dfn>CDATA section state</dfn></h5>
+  </dl><h5 id="cdata-section-state"><span class="secno">8.2.4.68 </span><dfn>CDATA section state</dfn></h5>
 
   <p>Consume every character up to the next occurrence of the three
   character sequence U+005D RIGHT SQUARE BRACKET U+005D RIGHT SQUARE
@@ -56533,7 +56495,7 @@
 
 
 
-  <h5 id="tokenizing-character-references"><span class="secno">8.2.4.70 </span>Tokenizing character references</h5>
+  <h5 id="tokenizing-character-references"><span class="secno">8.2.4.69 </span>Tokenizing character references</h5>
 
   <p>This section defines how to <dfn id="consume-a-character-reference">consume a character
   reference</dfn>. This definition is used when parsing character

Received on Sunday, 26 September 2010 16:50:59 UTC