[html5] r5164 - [giow] (2) Make 'emit' always come after 'switch', and remove any mention of 'st [...]
whatwg at whatwg.org
whatwg at whatwg.org
Wed Jul 14 14:10:50 PDT 2010
Author: ianh
Date: 2010-07-14 14:10:48 -0700 (Wed, 14 Jul 2010)
New Revision: 5164
Modified:
complete.html
index
source
Log:
[giow] (2) Make 'emit' always come after 'switch', and remove any mention of 'stay' in the tokeniser.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10117
Modified: complete.html
===================================================================
--- complete.html 2010-07-14 19:19:17 UTC (rev 5163)
+++ complete.html 2010-07-14 21:10:48 UTC (rev 5164)
@@ -78516,7 +78516,7 @@
<dt>Anything else</dt>
<dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Stay in the <a href=#data-state>data state</a>.</dd>
+ token.</dd>
</dl><h5 id=character-reference-in-data-state><span class=secno>12.2.4.2 </span><dfn>Character reference in data state</dfn></h5>
@@ -78547,7 +78547,7 @@
<dt>Anything else</dt>
<dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Stay in the <a href=#rcdata-state>RCDATA state</a>.</dd>
+ token.</dd>
</dl><h5 id=character-reference-in-rcdata-state><span class=secno>12.2.4.4 </span><dfn>Character reference in RCDATA state</dfn></h5>
@@ -78574,7 +78574,7 @@
<dt>Anything else</dt>
<dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Stay in the <a href=#rawtext-state>RAWTEXT state</a>.</dd>
+ token.</dd>
</dl><h5 id=script-data-state><span class=secno>12.2.4.6 </span><dfn>Script data state</dfn></h5>
@@ -78588,7 +78588,7 @@
<dt>Anything else</dt>
<dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Stay in the <a href=#script-data-state>script data state</a>.</dd>
+ token.</dd>
</dl><h5 id=plaintext-state><span class=secno>12.2.4.7 </span><dfn>PLAINTEXT state</dfn></h5>
@@ -78599,7 +78599,7 @@
<dt>Anything else</dt>
<dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Stay in the <a href=#plaintext-state>PLAINTEXT state</a>.</dd>
+ token.</dd>
</dl><h5 id=tag-open-state><span class=secno>12.2.4.8 </span><dfn>Tag open state</dfn></h5>
@@ -78678,14 +78678,13 @@
<dd>Switch to the <a href=#self-closing-start-tag-state>self-closing start tag state</a>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current tag token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <dd>Switch to the <a href=#data-state>data state</a>. Emit the current tag
+ token.</dd>
<dt>U+0041 LATIN CAPITAL LETTER A through to U+005A LATIN CAPITAL LETTER Z</dt>
<dd>Append the lowercase version of the <a href=#current-input-character>current input
character</a> (add 0x0020 to the character's code point) to the
- current tag token's tag name. Stay in the <a href=#tag-name-state>tag name
- state</a>.</dd>
+ current tag token's tag name.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Reconsume the EOF character in the
@@ -78693,7 +78692,7 @@
<dt>Anything else</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the current
- tag token's tag name. Stay in the <a href=#tag-name-state>tag name state</a>.</dd>
+ tag token's tag name.</dd>
</dl><h5 id=rcdata-less-than-sign-state><span class=secno>12.2.4.11 </span><dfn>RCDATA less-than sign state</dfn></h5>
<!-- identical to the RAWTEXT less-than sign state, except s/RAWTEXT/RCDATA/g -->
@@ -78767,14 +78766,12 @@
<dd>Append the lowercase version of the <a href=#current-input-character>current input
character</a> (add 0x0020 to the character's code point) to the
current tag token's tag name. Append the <a href=#current-input-character>current input
- character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>. Stay in the
- <a href=#rcdata-end-tag-name-state>RCDATA end tag name state</a>.</dd>
+ character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>.</dd>
<dt>U+0061 LATIN SMALL LETTER A through to U+007A LATIN SMALL LETTER Z</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the current
tag token's tag name. Append the <a href=#current-input-character>current input
- character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>. Stay in the
- <a href=#rcdata-end-tag-name-state>RCDATA end tag name state</a>.</dd>
+ character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>.</dd>
<dt>Anything else</dt>
<dd>Emit a U+003C LESS-THAN SIGN character token, a U+002F SOLIDUS
@@ -78855,14 +78852,12 @@
<dd>Append the lowercase version of the <a href=#current-input-character>current input
character</a> (add 0x0020 to the character's code point) to the
current tag token's tag name. Append the <a href=#current-input-character>current input
- character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>. Stay in the
- <a href=#rawtext-end-tag-name-state>RAWTEXT end tag name state</a>.</dd>
+ character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>.</dd>
<dt>U+0061 LATIN SMALL LETTER A through to U+007A LATIN SMALL LETTER Z</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the current
tag token's tag name. Append the <a href=#current-input-character>current input
- character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>. Stay in the
- <a href=#rawtext-end-tag-name-state>RAWTEXT end tag name state</a>.</dd>
+ character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>.</dd>
<dt>Anything else</dt>
<dd>Emit a U+003C LESS-THAN SIGN character token, a U+002F SOLIDUS
@@ -78880,9 +78875,9 @@
to the <a href=#script-data-end-tag-open-state>script data end tag open state</a>.</dd>
<dt>U+0021 EXCLAMATION MARK (!)</dt>
- <dd>Emit a U+003C LESS-THAN SIGN character token and a U+0021
- EXCLAMATION MARK character token. Switch to the <a href=#script-data-escape-start-state>script data
- escape start state</a>.</dd>
+ <dd>Switch to the <a href=#script-data-escape-start-state>script data escape start state</a>. Emit
+ a U+003C LESS-THAN SIGN character token and a U+0021 EXCLAMATION
+ MARK character token.</dd>
<dt>Anything else</dt>
<dd>Emit a U+003C LESS-THAN SIGN character token and reconsume the
@@ -78947,14 +78942,12 @@
<dd>Append the lowercase version of the <a href=#current-input-character>current input
character</a> (add 0x0020 to the character's code point) to the
current tag token's tag name. Append the <a href=#current-input-character>current input
- character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>. Stay in the
- <a href=#script-data-end-tag-name-state>script data end tag name state</a>.</dd>
+ character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>.</dd>
<dt>U+0061 LATIN SMALL LETTER A through to U+007A LATIN SMALL LETTER Z</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the current
tag token's tag name. Append the <a href=#current-input-character>current input
- character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>. Stay in the
- <a href=#script-data-end-tag-name-state>script data end tag name state</a>.</dd>
+ character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>.</dd>
<dt>Anything else</dt>
<dd>Emit a U+003C LESS-THAN SIGN character token, a U+002F SOLIDUS
@@ -78968,8 +78961,8 @@
<p>Consume the <a href=#next-input-character>next input character</a>:</p>
<dl class=switch><dt>U+002D HYPHEN-MINUS (-)</dt>
- <dd>Emit a U+002D HYPHEN-MINUS character token. Switch to the
- <a href=#script-data-escape-start-dash-state>script data escape start dash state</a>.</dd>
+ <dd>Switch to the <a href=#script-data-escape-start-dash-state>script data escape start dash
+ state</a>. Emit a U+002D HYPHEN-MINUS character token.</dd>
<dt>Anything else</dt>
<dd>Reconsume the <a href=#current-input-character>current input character</a> in the
@@ -78980,8 +78973,8 @@
<p>Consume the <a href=#next-input-character>next input character</a>:</p>
<dl class=switch><dt>U+002D HYPHEN-MINUS (-)</dt>
- <dd>Emit a U+002D HYPHEN-MINUS character token. Switch to the
- <a href=#script-data-escaped-dash-dash-state>script data escaped dash dash state</a>.</dd>
+ <dd>Switch to the <a href=#script-data-escaped-dash-dash-state>script data escaped dash dash
+ state</a>. Emit a U+002D HYPHEN-MINUS character token.</dd>
<dt>Anything else</dt>
<dd>Reconsume the <a href=#current-input-character>current input character</a> in the
@@ -78992,8 +78985,8 @@
<p>Consume the <a href=#next-input-character>next input character</a>:</p>
<dl class=switch><dt>U+002D HYPHEN-MINUS (-)</dt>
- <dd>Emit a U+002D HYPHEN-MINUS character token. Switch to the
- <a href=#script-data-escaped-dash-state>script data escaped dash state</a>.</dd>
+ <dd>Switch to the <a href=#script-data-escaped-dash-state>script data escaped dash state</a>. Emit
+ a U+002D HYPHEN-MINUS character token.</dd>
<dt>U+003C LESS-THAN SIGN (<)</dt>
<dd><p>Switch to the <a href=#script-data-escaped-less-than-sign-state>script data escaped less-than sign
@@ -79005,15 +78998,15 @@
<dt>Anything else</dt>
<dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Stay in the <a href=#script-data-escaped-state>script data escaped state</a>.</dd>
+ token.</dd>
</dl><h5 id=script-data-escaped-dash-state><span class=secno>12.2.4.23 </span><dfn>Script data escaped dash state</dfn></h5>
<p>Consume the <a href=#next-input-character>next input character</a>:</p>
<dl class=switch><dt>U+002D HYPHEN-MINUS (-)</dt>
- <dd>Emit a U+002D HYPHEN-MINUS character token. Switch to the
- <a href=#script-data-escaped-dash-dash-state>script data escaped dash dash state</a>.</dd>
+ <dd>Switch to the <a href=#script-data-escaped-dash-dash-state>script data escaped dash dash
+ state</a>. Emit a U+002D HYPHEN-MINUS character token.</dd>
<dt>U+003C LESS-THAN SIGN (<)</dt>
<dd><p>Switch to the <a href=#script-data-escaped-less-than-sign-state>script data escaped less-than sign
@@ -79024,32 +79017,31 @@
<a href=#data-state>data state</a>.</dd>
<dt>Anything else</dt>
- <dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Switch to the <a href=#script-data-escaped-state>script data escaped state</a>.</dd>
+ <dd>Switch to the <a href=#script-data-escaped-state>script data escaped state</a>. Emit the
+ <a href=#current-input-character>current input character</a> as a character token.</dd>
</dl><h5 id=script-data-escaped-dash-dash-state><span class=secno>12.2.4.24 </span><dfn>Script data escaped dash dash state</dfn></h5>
<p>Consume the <a href=#next-input-character>next input character</a>:</p>
<dl class=switch><dt>U+002D HYPHEN-MINUS (-)</dt>
- <dd>Emit a U+002D HYPHEN-MINUS character token. Stay in the
- <a href=#script-data-escaped-dash-dash-state>script data escaped dash dash state</a>.</dd>
+ <dd>Emit a U+002D HYPHEN-MINUS character token.</dd>
<dt>U+003C LESS-THAN SIGN (<)</dt>
<dd><p>Switch to the <a href=#script-data-escaped-less-than-sign-state>script data escaped less-than sign
state</a>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit a U+003E GREATER-THAN SIGN character token. Switch to the
- <a href=#script-data-state>script data state</a>.</dd>
+ <dd>Switch to the <a href=#script-data-state>script data state</a>. Emit a U+003E
+ GREATER-THAN SIGN character token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Reconsume the EOF character in the
<a href=#data-state>data state</a>.</dd>
<dt>Anything else</dt>
- <dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Switch to the <a href=#script-data-escaped-state>script data escaped state</a>.</dd>
+ <dd>Switch to the <a href=#script-data-escaped-state>script data escaped state</a>. Emit the
+ <a href=#current-input-character>current input character</a> as a character token.</dd>
</dl><h5 id=script-data-escaped-less-than-sign-state><span class=secno>12.2.4.25 </span><dfn>Script data escaped less-than sign state</dfn></h5>
@@ -79060,21 +79052,19 @@
to the <a href=#script-data-escaped-end-tag-open-state>script data escaped end tag open state</a>.</dd>
<dt>U+0041 LATIN CAPITAL LETTER A through to U+005A LATIN CAPITAL LETTER Z</dt>
- <dd>Emit a U+003C LESS-THAN SIGN character token and the
- <a href=#current-input-character>current input character</a> as a character token. Set the
- <var><a href=#temporary-buffer>temporary buffer</a></var> to the empty string. Append the
- lowercase version of the <a href=#current-input-character>current input character</a> (add
- 0x0020 to the character's code point) to the <var><a href=#temporary-buffer>temporary
+ <dd>Set the <var><a href=#temporary-buffer>temporary buffer</a></var> to the empty string. Append
+ the lowercase version of the <a href=#current-input-character>current input character</a>
+ (add 0x0020 to the character's code point) to the <var><a href=#temporary-buffer>temporary
buffer</a></var>. Switch to the <a href=#script-data-double-escape-start-state>script data double escape start
- state</a>.</dd>
+ state</a>. Emit a U+003C LESS-THAN SIGN character token and the
+ <a href=#current-input-character>current input character</a> as a character token.</dd>
<dt>U+0061 LATIN SMALL LETTER A through to U+007A LATIN SMALL LETTER Z</dt>
- <dd>Emit a U+003C LESS-THAN SIGN character token and the
- <a href=#current-input-character>current input character</a> as a character token. Set the
- <var><a href=#temporary-buffer>temporary buffer</a></var> to the empty string. Append the
- <a href=#current-input-character>current input character</a> to the <var><a href=#temporary-buffer>temporary
+ <dd>Set the <var><a href=#temporary-buffer>temporary buffer</a></var> to the empty string. Append
+ the <a href=#current-input-character>current input character</a> to the <var><a href=#temporary-buffer>temporary
buffer</a></var>. Switch to the <a href=#script-data-double-escape-start-state>script data double escape start
- state</a>.</dd>
+ state</a>. Emit a U+003C LESS-THAN SIGN character token and the
+ <a href=#current-input-character>current input character</a> as a character token.</dd>
<dt>Anything else</dt>
<dd>Emit a U+003C LESS-THAN SIGN character token and reconsume the
@@ -79137,14 +79127,12 @@
<dd>Append the lowercase version of the <a href=#current-input-character>current input
character</a> (add 0x0020 to the character's code point) to the
current tag token's tag name. Append the <a href=#current-input-character>current input
- character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>. Stay in the
- <a href=#script-data-escaped-end-tag-name-state>script data escaped end tag name state</a>.</dd>
+ character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>.</dd>
<dt>U+0061 LATIN SMALL LETTER A through to U+007A LATIN SMALL LETTER Z</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the current
tag token's tag name. Append the <a href=#current-input-character>current input
- character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>. Stay in the
- <a href=#script-data-escaped-end-tag-name-state>script data escaped end tag name state</a>.</dd>
+ character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>.</dd>
<dt>Anything else</dt>
<dd>Emit a U+003C LESS-THAN SIGN character token, a U+002F SOLIDUS
@@ -79164,23 +79152,21 @@
<dt>U+0020 SPACE</dt>
<dt>U+002F SOLIDUS (/)</dt>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. If the <var><a href=#temporary-buffer>temporary buffer</a></var> is the string "<code title="">script</code>", then switch to the <a href=#script-data-double-escaped-state>script data
+ <dd>If the <var><a href=#temporary-buffer>temporary buffer</a></var> is the string "<code title="">script</code>", then switch to the <a href=#script-data-double-escaped-state>script data
double escaped state</a>. Otherwise, switch to the <a href=#script-data-escaped-state>script
- data escaped state</a>.</dd>
+ data escaped state</a>. Emit the <a href=#current-input-character>current input
+ character</a> as a character token.</dd>
<dt>U+0041 LATIN CAPITAL LETTER A through to U+005A LATIN CAPITAL LETTER Z</dt>
- <dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Append the lowercase version of the <a href=#current-input-character>current input
+ <dd>Append the lowercase version of the <a href=#current-input-character>current input
character</a> (add 0x0020 to the character's code point) to the
- <var><a href=#temporary-buffer>temporary buffer</a></var>. Stay in the <a href=#script-data-double-escape-start-state>script data double
- escape start state</a>.</dd>
+ <var><a href=#temporary-buffer>temporary buffer</a></var>. Emit the <a href=#current-input-character>current input
+ character</a> as a character token.</dd>
<dt>U+0061 LATIN SMALL LETTER A through to U+007A LATIN SMALL LETTER Z</dt>
- <dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Append the <a href=#current-input-character>current input character</a> to the
- <var><a href=#temporary-buffer>temporary buffer</a></var>. Stay in the <a href=#script-data-double-escape-start-state>script data double
- escape start state</a>.</dd>
+ <dd>Append the <a href=#current-input-character>current input character</a> to the
+ <var><a href=#temporary-buffer>temporary buffer</a></var>. Emit the <a href=#current-input-character>current input
+ character</a> as a character token.</dd>
<dt>Anything else</dt>
<dd>Reconsume the <a href=#current-input-character>current input character</a> in the
@@ -79191,13 +79177,13 @@
<p>Consume the <a href=#next-input-character>next input character</a>:</p>
<dl class=switch><dt>U+002D HYPHEN-MINUS (-)</dt>
- <dd>Emit a U+002D HYPHEN-MINUS character token. Switch to the
- <a href=#script-data-double-escaped-dash-state>script data double escaped dash state</a>.</dd>
+ <dd>Switch to the <a href=#script-data-double-escaped-dash-state>script data double escaped dash
+ state</a>. Emit a U+002D HYPHEN-MINUS character token.</dd>
<dt>U+003C LESS-THAN SIGN (<)</dt>
- <dd><p>Emit a U+003C LESS-THAN SIGN character token. Switch to the
- <a href=#script-data-double-escaped-less-than-sign-state>script data double escaped less-than sign
- state</a>.</dd>
+ <dd><p>Switch to the <a href=#script-data-double-escaped-less-than-sign-state>script data double escaped less-than
+ sign state</a>. Emit a U+003C LESS-THAN SIGN character
+ token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Reconsume the EOF character in the
@@ -79205,65 +79191,63 @@
<dt>Anything else</dt>
<dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Stay in the <a href=#script-data-double-escaped-state>script data double escaped
- state</a>.</dd>
+ token.</dd>
</dl><h5 id=script-data-double-escaped-dash-state><span class=secno>12.2.4.30 </span><dfn>Script data double escaped dash state</dfn></h5>
<p>Consume the <a href=#next-input-character>next input character</a>:</p>
<dl class=switch><dt>U+002D HYPHEN-MINUS (-)</dt>
- <dd>Emit a U+002D HYPHEN-MINUS character token. Switch to the
- <a href=#script-data-double-escaped-dash-dash-state>script data double escaped dash dash state</a>.</dd>
+ <dd>Switch to the <a href=#script-data-double-escaped-dash-dash-state>script data double escaped dash dash
+ state</a>. Emit a U+002D HYPHEN-MINUS character token.</dd>
<dt>U+003C LESS-THAN SIGN (<)</dt>
- <dd><p>Emit a U+003C LESS-THAN SIGN character token. Switch to the
- <a href=#script-data-double-escaped-less-than-sign-state>script data double escaped less-than sign
- state</a>.</dd>
+ <dd><p>Switch to the <a href=#script-data-double-escaped-less-than-sign-state>script data double escaped less-than
+ sign state</a>. Emit a U+003C LESS-THAN SIGN character
+ token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Reconsume the EOF character in the
<a href=#data-state>data state</a>.</dd>
<dt>Anything else</dt>
- <dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Switch to the <a href=#script-data-double-escaped-state>script data double escaped
- state</a>.</dd>
+ <dd>Switch to the <a href=#script-data-double-escaped-state>script data double escaped
+ state</a>. Emit the <a href=#current-input-character>current input character</a> as a
+ character token.</dd>
</dl><h5 id=script-data-double-escaped-dash-dash-state><span class=secno>12.2.4.31 </span><dfn>Script data double escaped dash dash state</dfn></h5>
<p>Consume the <a href=#next-input-character>next input character</a>:</p>
<dl class=switch><dt>U+002D HYPHEN-MINUS (-)</dt>
- <dd>Emit a U+002D HYPHEN-MINUS character token. Stay in the
- <a href=#script-data-double-escaped-dash-dash-state>script data double escaped dash dash state</a>.</dd>
+ <dd>Emit a U+002D HYPHEN-MINUS character token.</dd>
<dt>U+003C LESS-THAN SIGN (<)</dt>
- <dd><p>Emit a U+003C LESS-THAN SIGN character token. Switch to the
- <a href=#script-data-double-escaped-less-than-sign-state>script data double escaped less-than sign
- state</a>.</dd>
+ <dd><p>Switch to the <a href=#script-data-double-escaped-less-than-sign-state>script data double escaped less-than
+ sign state</a>. Emit a U+003C LESS-THAN SIGN character
+ token.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit a U+003E GREATER-THAN SIGN character token. Switch to the
- <a href=#script-data-state>script data state</a>.</dd>
+ <dd>Switch to the <a href=#script-data-state>script data state</a>. Emit a U+003E
+ GREATER-THAN SIGN character token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Reconsume the EOF character in the
<a href=#data-state>data state</a>.</dd>
<dt>Anything else</dt>
- <dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Switch to the <a href=#script-data-double-escaped-state>script data double escaped
- state</a>.</dd>
+ <dd>Switch to the <a href=#script-data-double-escaped-state>script data double escaped
+ state</a>. Emit the <a href=#current-input-character>current input character</a> as a
+ character token.</dd>
</dl><h5 id=script-data-double-escaped-less-than-sign-state><span class=secno>12.2.4.32 </span><dfn>Script data double escaped less-than sign state</dfn></h5>
<p>Consume the <a href=#next-input-character>next input character</a>:</p>
<dl class=switch><dt>U+002F SOLIDUS (/)</dt>
- <dd>Emit a U+002F SOLIDUS character token. Set the <var><a href=#temporary-buffer>temporary
- buffer</a></var> to the empty string. Switch to the <a href=#script-data-double-escape-end-state>script data
- double escape end state</a>.</dd>
+ <dd>Set the <var><a href=#temporary-buffer>temporary buffer</a></var> to the empty string. Switch
+ to the <a href=#script-data-double-escape-end-state>script data double escape end state</a>. Emit a
+ U+002F SOLIDUS character token.</dd>
<dt>Anything else</dt>
<dd>Reconsume the <a href=#current-input-character>current input character</a> in the
@@ -79280,23 +79264,21 @@
<dt>U+0020 SPACE</dt>
<dt>U+002F SOLIDUS (/)</dt>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. If the <var><a href=#temporary-buffer>temporary buffer</a></var> is the string "<code title="">script</code>", then switch to the <a href=#script-data-escaped-state>script data
+ <dd>If the <var><a href=#temporary-buffer>temporary buffer</a></var> is the string "<code title="">script</code>", then switch to the <a href=#script-data-escaped-state>script data
escaped state</a>. Otherwise, switch to the <a href=#script-data-double-escaped-state>script data
- double escaped state</a>.</dd>
+ double escaped state</a>. Emit the <a href=#current-input-character>current input
+ character</a> as a character token.</dd>
<dt>U+0041 LATIN CAPITAL LETTER A through to U+005A LATIN CAPITAL LETTER Z</dt>
- <dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Append the lowercase version of the <a href=#current-input-character>current input
+ <dd>Append the lowercase version of the <a href=#current-input-character>current input
character</a> (add 0x0020 to the character's code point) to the
- <var><a href=#temporary-buffer>temporary buffer</a></var>. Stay in the <a href=#script-data-double-escape-end-state>script data double
- escape end state</a>.</dd>
+ <var><a href=#temporary-buffer>temporary buffer</a></var>. Emit the <a href=#current-input-character>current input
+ character</a> as a character token.</dd>
<dt>U+0061 LATIN SMALL LETTER A through to U+007A LATIN SMALL LETTER Z</dt>
- <dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Append the <a href=#current-input-character>current input character</a> to the
- <var><a href=#temporary-buffer>temporary buffer</a></var>. Stay in the <a href=#script-data-double-escape-end-state>script data double
- escape end state</a>.</dd>
+ <dd>Append the <a href=#current-input-character>current input character</a> to the
+ <var><a href=#temporary-buffer>temporary buffer</a></var>. Emit the <a href=#current-input-character>current input
+ character</a> as a character token.</dd>
<dt>Anything else</dt>
<dd>Reconsume the <a href=#current-input-character>current input character</a> in the
@@ -79311,14 +79293,14 @@
<dt>U+000C FORM FEED (FF)</dt>
<!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
<dt>U+0020 SPACE</dt>
- <dd>Stay in the <a href=#before-attribute-name-state>before attribute name state</a>.</dd>
+ <dd>Ignore the character.</dd>
<dt>U+002F SOLIDUS (/)</dt>
<dd>Switch to the <a href=#self-closing-start-tag-state>self-closing start tag state</a>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current tag token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <dd>Switch to the <a href=#data-state>data state</a>. Emit the current tag
+ token.</dd>
<dt>U+0041 LATIN CAPITAL LETTER A through to U+005A LATIN CAPITAL LETTER Z</dt>
<dd>Start a new attribute in the current tag token. Set that
@@ -79362,14 +79344,13 @@
<dd>Switch to the <a href=#before-attribute-value-state>before attribute value state</a>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current tag token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <dd>Switch to the <a href=#data-state>data state</a>. Emit the current tag
+ token.</dd>
<dt>U+0041 LATIN CAPITAL LETTER A through to U+005A LATIN CAPITAL LETTER Z</dt>
<dd>Append the lowercase version of the <a href=#current-input-character>current input
character</a> (add 0x0020 to the character's code point) to the
- current attribute's name. Stay in the <a href=#attribute-name-state>attribute name
- state</a>.</dd>
+ current attribute's name.</dd>
<dt>U+0022 QUOTATION MARK (")</dt>
<dt>U+0027 APOSTROPHE (')</dt>
@@ -79383,8 +79364,7 @@
<dt>Anything else</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the current
- attribute's name. Stay in the <a href=#attribute-name-state>attribute name
- state</a>.</dd>
+ attribute's name.</dd>
</dl><p>When the user agent leaves the attribute name state (and before
emitting the tag token, if appropriate), the complete attribute's
@@ -79404,7 +79384,7 @@
<dt>U+000C FORM FEED (FF)</dt>
<!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
<dt>U+0020 SPACE</dt>
- <dd>Stay in the <a href=#after-attribute-name-state>after attribute name state</a>.</dd>
+ <dd>Ignore the character.</dd>
<dt>U+002F SOLIDUS (/)</dt>
<dd>Switch to the <a href=#self-closing-start-tag-state>self-closing start tag state</a>.</dd>
@@ -79413,8 +79393,8 @@
<dd>Switch to the <a href=#before-attribute-value-state>before attribute value state</a>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current tag token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <dd>Switch to the <a href=#data-state>data state</a>. Emit the current tag
+ token.</dd>
<dt>U+0041 LATIN CAPITAL LETTER A through to U+005A LATIN CAPITAL LETTER Z</dt>
<dd>Start a new attribute in the current tag token. Set that
@@ -79448,7 +79428,7 @@
<dt>U+000C FORM FEED (FF)</dt>
<!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
<dt>U+0020 SPACE</dt>
- <dd>Stay in the <a href=#before-attribute-value-state>before attribute value state</a>.</dd>
+ <dd>Ignore the character.</dd>
<dt>U+0022 QUOTATION MARK (")</dt>
<dd>Switch to the <a href=#attribute-value-(double-quoted)-state>attribute value (double-quoted) state</a>.</dd>
@@ -79461,8 +79441,8 @@
<dd>Switch to the <a href=#attribute-value-(single-quoted)-state>attribute value (single-quoted) state</a>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd><a href=#parse-error>Parse error</a>. Emit the current tag token. Switch to
- the <a href=#data-state>data state</a>.</dd>
+ <dd><a href=#parse-error>Parse error</a>. Switch to the <a href=#data-state>data
+ state</a>. Emit the current tag token.</dd>
<dt>U+003C LESS-THAN SIGN (<)</dt>
<dt>U+003D EQUALS SIGN (=)</dt>
@@ -79498,8 +79478,7 @@
<dt>Anything else</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the current
- attribute's value. Stay in the <a href=#attribute-value-(double-quoted)-state>attribute value
- (double-quoted) state</a>.</dd>
+ attribute's value.</dd>
</dl><h5 id=attribute-value-(single-quoted)-state><span class=secno>12.2.4.39 </span><dfn>Attribute value (single-quoted) state</dfn></h5>
@@ -79520,8 +79499,7 @@
<dt>Anything else</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the current
- attribute's value. Stay in the <a href=#attribute-value-(single-quoted)-state>attribute value
- (single-quoted) state</a>.</dd>
+ attribute's value.</dd>
</dl><h5 id=attribute-value-(unquoted)-state><span class=secno>12.2.4.40 </span><dfn>Attribute value (unquoted) state</dfn></h5>
@@ -79540,8 +79518,8 @@
being U+003E GREATER-THAN SIGN (>).</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current tag token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <dd>Switch to the <a href=#data-state>data state</a>. Emit the current tag
+ token.</dd>
<dt>U+0022 QUOTATION MARK (")</dt>
<dt>U+0027 APOSTROPHE (')</dt>
@@ -79557,8 +79535,7 @@
<dt>Anything else</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the current
- attribute's value. Stay in the <a href=#attribute-value-(unquoted)-state>attribute value (unquoted)
- state</a>.</dd>
+ attribute's value.</dd>
</dl><h5 id=character-reference-in-attribute-value-state><span class=secno>12.2.4.41 </span><dfn>Character reference in attribute value state</dfn></h5>
@@ -79589,8 +79566,8 @@
<dd>Switch to the <a href=#self-closing-start-tag-state>self-closing start tag state</a>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current tag token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <dd>Switch to the <a href=#data-state>data state</a>. Emit the current tag
+ token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Reconsume the EOF character in the
@@ -79606,8 +79583,8 @@
<dl class=switch><dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd>Set the <i>self-closing flag</i> of the current tag
- token. Emit the current tag token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ token. Switch to the <a href=#data-state>data state</a>. Emit the current tag
+ token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Reconsume the EOF character in the
@@ -79668,9 +79645,9 @@
<dd>Switch to the <a href=#comment-start-dash-state>comment start dash state</a>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd><a href=#parse-error>Parse error</a>. Emit the comment token. Switch to the
- <a href=#data-state>data state</a>.</dd> <!-- see comment in comment end state
- -->
+ <dd><a href=#parse-error>Parse error</a>. Switch to the <a href=#data-state>data
+ state</a>. Emit the comment token.</dd> <!-- see comment in
+ comment end state -->
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Emit the comment token. Reconsume
@@ -79688,8 +79665,8 @@
<dd>Switch to the <a href=#comment-end-state>comment end state</a></dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd><a href=#parse-error>Parse error</a>. Emit the comment token. Switch to
- the <a href=#data-state>data state</a>.</dd>
+ <dd><a href=#parse-error>Parse error</a>. 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
@@ -79715,7 +79692,7 @@
<dt>Anything else</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the comment
- token's data. Stay in the <a href=#comment-state>comment state</a>.</dd>
+ token's data.</dd>
</dl><h5 id=comment-end-dash-state><span class=secno>12.2.4.49 </span><dfn>Comment end dash state</dfn></h5>
@@ -79739,8 +79716,8 @@
<p>Consume the <a href=#next-input-character>next input character</a>:</p>
<dl class=switch><dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the comment token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <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>
@@ -79758,8 +79735,7 @@
<dt>U+002D HYPHEN-MINUS (-)</dt>
<dd><a href=#parse-error>Parse error</a>. Append a U+002D HYPHEN-MINUS
- character (-) to the comment token's data. Stay in the
- <a href=#comment-end-state>comment end state</a>.</dd>
+ character (-) to the comment token's data.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Emit the comment token. Reconsume
@@ -79785,8 +79761,8 @@
to the <a href=#comment-end-dash-state>comment end dash state</a>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the comment token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <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
@@ -79808,15 +79784,14 @@
<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. Stay in
- the <a href=#comment-end-space-state>comment end space state</a>.</dd>
+ <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 (>)</dt>
- <dd>Emit the comment token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <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
@@ -79856,7 +79831,7 @@
<dt>U+000C FORM FEED (FF)</dt>
<!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
<dt>U+0020 SPACE</dt>
- <dd>Stay in the <a href=#before-doctype-name-state>before DOCTYPE name state</a>.</dd>
+ <dd>Ignore the character.</dd>
<dt>U+0041 LATIN CAPITAL LETTER A through to U+005A LATIN CAPITAL LETTER Z</dt>
<dd>Create a new DOCTYPE token. Set the token's name to the
@@ -79866,8 +79841,8 @@
<dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd><a href=#parse-error>Parse error</a>. Create a new DOCTYPE token. Set its
- <i>force-quirks flag</i> to <i>on</i>. Emit the token. Switch to
- the <a href=#data-state>data state</a>.</dd>
+ <i>force-quirks flag</i> to <i>on</i>. Switch to the <a href=#data-state>data
+ state</a>. Emit the token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Create a new DOCTYPE token. Set its
@@ -79891,14 +79866,13 @@
<dd>Switch to the <a href=#after-doctype-name-state>after DOCTYPE name state</a>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current DOCTYPE token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <dd>Switch to the <a href=#data-state>data state</a>. Emit the current DOCTYPE
+ token.</dd>
<dt>U+0041 LATIN CAPITAL LETTER A through to U+005A LATIN CAPITAL LETTER Z</dt>
<dd>Append the lowercase version of the <a href=#current-input-character>current input
character</a> (add 0x0020 to the character's code point) to the
- current DOCTYPE token's name. Stay in the <a href=#doctype-name-state>DOCTYPE name
- state</a>.</dd>
+ current DOCTYPE token's name.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
@@ -79907,8 +79881,7 @@
<dt>Anything else</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the current
- DOCTYPE token's name. Stay in the <a href=#doctype-name-state>DOCTYPE name
- state</a>.</dd>
+ DOCTYPE token's name.</dd>
</dl><h5 id=after-doctype-name-state><span class=secno>12.2.4.56 </span><dfn>After DOCTYPE name state</dfn></h5>
@@ -79919,11 +79892,11 @@
<dt>U+000C FORM FEED (FF)</dt>
<!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
<dt>U+0020 SPACE</dt>
- <dd>Stay in the <a href=#after-doctype-name-state>after DOCTYPE name state</a>.</dd>
+ <dd>Ignore the character.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current DOCTYPE token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <dd>Switch to the <a href=#data-state>data state</a>. Emit the current DOCTYPE
+ token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
@@ -79974,8 +79947,8 @@
<dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
- <i>force-quirks flag</i> to <i>on</i>. Emit that DOCTYPE
- token. Switch to the <a href=#data-state>data state</a>.</dd>
+ <i>force-quirks flag</i> to <i>on</i>. Switch to the <a href=#data-state>data
+ state</a>. Emit that DOCTYPE token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
@@ -79996,7 +79969,7 @@
<dt>U+000C FORM FEED (FF)</dt>
<!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
<dt>U+0020 SPACE</dt>
- <dd>Stay in the <a href=#before-doctype-public-identifier-state>before DOCTYPE public identifier state</a>.</dd>
+ <dd>Ignore the character.</dd>
<dt>U+0022 QUOTATION MARK (")</dt>
<dd>Set the DOCTYPE token's public identifier to the empty string
@@ -80010,8 +79983,8 @@
<dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
- <i>force-quirks flag</i> to <i>on</i>. Emit that DOCTYPE
- token. Switch to the <a href=#data-state>data state</a>.</dd>
+ <i>force-quirks flag</i> to <i>on</i>. Switch to the <a href=#data-state>data
+ state</a>. Emit that DOCTYPE token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
@@ -80032,8 +80005,8 @@
<dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
- <i>force-quirks flag</i> to <i>on</i>. Emit that DOCTYPE
- token. Switch to the <a href=#data-state>data state</a>.</dd>
+ <i>force-quirks flag</i> to <i>on</i>. Switch to the <a href=#data-state>data
+ state</a>. Emit that DOCTYPE token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
@@ -80042,8 +80015,7 @@
<dt>Anything else</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the current DOCTYPE
- token's public identifier. Stay in the <a href=#doctype-public-identifier-(double-quoted)-state>DOCTYPE public
- identifier (double-quoted) state</a>.</dd>
+ token's public identifier.</dd>
</dl><h5 id=doctype-public-identifier-(single-quoted)-state><span class=secno>12.2.4.60 </span><dfn>DOCTYPE public identifier (single-quoted) state</dfn></h5>
@@ -80054,8 +80026,8 @@
<dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
- <i>force-quirks flag</i> to <i>on</i>. Emit that DOCTYPE
- token. Switch to the <a href=#data-state>data state</a>.</dd>
+ <i>force-quirks flag</i> to <i>on</i>. Switch to the <a href=#data-state>data
+ state</a>. Emit that DOCTYPE token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
@@ -80064,8 +80036,7 @@
<dt>Anything else</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the current DOCTYPE
- token's public identifier. Stay in the <a href=#doctype-public-identifier-(single-quoted)-state>DOCTYPE public
- identifier (single-quoted) state</a>.</dd>
+ token's public identifier.</dd>
</dl><h5 id=after-doctype-public-identifier-state><span class=secno>12.2.4.61 </span><dfn>After DOCTYPE public identifier state</dfn></h5>
@@ -80080,8 +80051,8 @@
identifiers state</a>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current DOCTYPE token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <dd>Switch to the <a href=#data-state>data state</a>. Emit the current DOCTYPE
+ token.</dd>
<dt>U+0022 QUOTATION MARK (")</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's system
@@ -80112,12 +80083,11 @@
<dt>U+000C FORM FEED (FF)</dt>
<!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
<dt>U+0020 SPACE</dt>
- <dd>Stay in the <a href=#between-doctype-public-and-system-identifiers-state>between DOCTYPE public and system identifiers
- state</a>.</dd>
+ <dd>Ignore the character.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current DOCTYPE token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <dd>Switch to the <a href=#data-state>data state</a>. Emit the current DOCTYPE
+ token.</dd>
<dt>U+0022 QUOTATION MARK (")</dt>
<dd>Set the DOCTYPE token's system identifier to the empty string
@@ -80163,8 +80133,8 @@
<dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
- <i>force-quirks flag</i> to <i>on</i>. Emit that DOCTYPE
- token. Switch to the <a href=#data-state>data state</a>.</dd>
+ <i>force-quirks flag</i> to <i>on</i>. Switch to the <a href=#data-state>data
+ state</a>. Emit that DOCTYPE token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
@@ -80185,7 +80155,7 @@
<dt>U+000C FORM FEED (FF)</dt>
<!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
<dt>U+0020 SPACE</dt>
- <dd>Stay in the <a href=#before-doctype-system-identifier-state>before DOCTYPE system identifier state</a>.</dd>
+ <dd>Ignore the character.</dd>
<dt>U+0022 QUOTATION MARK (")</dt>
<dd>Set the DOCTYPE token's system identifier to the empty string
@@ -80199,8 +80169,8 @@
<dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
- <i>force-quirks flag</i> to <i>on</i>. Emit that DOCTYPE
- token. Switch to the <a href=#data-state>data state</a>.</dd>
+ <i>force-quirks flag</i> to <i>on</i>. Switch to the <a href=#data-state>data
+ state</a>. Emit that DOCTYPE token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
@@ -80222,8 +80192,8 @@
<dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
- <i>force-quirks flag</i> to <i>on</i>. Emit that DOCTYPE
- token. Switch to the <a href=#data-state>data state</a>.</dd>
+ <i>force-quirks flag</i> to <i>on</i>. Switch to the <a href=#data-state>data
+ state</a>. Emit that DOCTYPE token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
@@ -80232,8 +80202,7 @@
<dt>Anything else</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the current
- DOCTYPE token's system identifier. Stay in the <a href=#doctype-system-identifier-(double-quoted)-state>DOCTYPE system
- identifier (double-quoted) state</a>.</dd>
+ DOCTYPE token's system identifier.</dd>
</dl><h5 id=doctype-system-identifier-(single-quoted)-state><span class=secno>12.2.4.66 </span><dfn>DOCTYPE system identifier (single-quoted) state</dfn></h5>
@@ -80245,8 +80214,8 @@
<dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
- <i>force-quirks flag</i> to <i>on</i>. Emit that DOCTYPE
- token. Switch to the <a href=#data-state>data state</a>.</dd>
+ <i>force-quirks flag</i> to <i>on</i>. Switch to the <a href=#data-state>data
+ state</a>. Emit that DOCTYPE token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
@@ -80255,8 +80224,7 @@
<dt>Anything else</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the current
- DOCTYPE token's system identifier. Stay in the <a href=#doctype-system-identifier-(single-quoted)-state>DOCTYPE system
- identifier (single-quoted) state</a>.</dd>
+ DOCTYPE token's system identifier.</dd>
</dl><h5 id=after-doctype-system-identifier-state><span class=secno>12.2.4.67 </span><dfn>After DOCTYPE system identifier state</dfn></h5>
@@ -80267,12 +80235,11 @@
<dt>U+000C FORM FEED (FF)</dt>
<!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
<dt>U+0020 SPACE</dt>
- <dd>Stay in the <a href=#after-doctype-system-identifier-state>after DOCTYPE system identifier
- state</a>.</dd>
+ <dd>Ignore the character.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current DOCTYPE token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <dd>Switch to the <a href=#data-state>data state</a>. Emit the current DOCTYPE
+ token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
@@ -80289,15 +80256,15 @@
<p>Consume the <a href=#next-input-character>next input character</a>:</p>
<dl class=switch><dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the DOCTYPE token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <dd>Switch to the <a href=#data-state>data state</a>. Emit the DOCTYPE
+ token.</dd>
<dt>EOF</dt>
<dd>Emit the DOCTYPE token. Reconsume the EOF character in the
<a href=#data-state>data state</a>.</dd>
<dt>Anything else</dt>
- <dd>Stay in the <a href=#bogus-doctype-state>bogus DOCTYPE state</a>.</dd>
+ <dd>Ignore the character.</dd>
</dl><h5 id=cdata-section-state><span class=secno>12.2.4.69 </span><dfn>CDATA section state</dfn></h5>
@@ -83479,9 +83446,9 @@
<dd>
<p>If the <a href=#stack-of-open-elements>stack of open elements</a> does not <a href=#has-an-element-in-table-scope title="has an element in table scope">have an element in table
- scope</a> with the same tag name as that of the token
- (which can only happen for "tbody", "tfoot" and "thead", or,
- in the <a href=#fragment-case>fragment case</a>), then this is a <a href=#parse-error>parse
+ scope</a> with the same tag name as that of the token (which
+ can only happen for "tbody", "tfoot" and "thead", or in the
+ <a href=#fragment-case>fragment case</a>), then this is a <a href=#parse-error>parse
error</a> and the token must be ignored.</p>
<p>Otherwise, <a href=#close-the-cell>close the cell</a> (see below) and
Modified: index
===================================================================
--- index 2010-07-14 19:19:17 UTC (rev 5163)
+++ index 2010-07-14 21:10:48 UTC (rev 5164)
@@ -71757,7 +71757,7 @@
<dt>Anything else</dt>
<dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Stay in the <a href=#data-state>data state</a>.</dd>
+ token.</dd>
</dl><h5 id=character-reference-in-data-state><span class=secno>10.2.4.2 </span><dfn>Character reference in data state</dfn></h5>
@@ -71788,7 +71788,7 @@
<dt>Anything else</dt>
<dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Stay in the <a href=#rcdata-state>RCDATA state</a>.</dd>
+ token.</dd>
</dl><h5 id=character-reference-in-rcdata-state><span class=secno>10.2.4.4 </span><dfn>Character reference in RCDATA state</dfn></h5>
@@ -71815,7 +71815,7 @@
<dt>Anything else</dt>
<dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Stay in the <a href=#rawtext-state>RAWTEXT state</a>.</dd>
+ token.</dd>
</dl><h5 id=script-data-state><span class=secno>10.2.4.6 </span><dfn>Script data state</dfn></h5>
@@ -71829,7 +71829,7 @@
<dt>Anything else</dt>
<dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Stay in the <a href=#script-data-state>script data state</a>.</dd>
+ token.</dd>
</dl><h5 id=plaintext-state><span class=secno>10.2.4.7 </span><dfn>PLAINTEXT state</dfn></h5>
@@ -71840,7 +71840,7 @@
<dt>Anything else</dt>
<dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Stay in the <a href=#plaintext-state>PLAINTEXT state</a>.</dd>
+ token.</dd>
</dl><h5 id=tag-open-state><span class=secno>10.2.4.8 </span><dfn>Tag open state</dfn></h5>
@@ -71919,14 +71919,13 @@
<dd>Switch to the <a href=#self-closing-start-tag-state>self-closing start tag state</a>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current tag token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <dd>Switch to the <a href=#data-state>data state</a>. Emit the current tag
+ token.</dd>
<dt>U+0041 LATIN CAPITAL LETTER A through to U+005A LATIN CAPITAL LETTER Z</dt>
<dd>Append the lowercase version of the <a href=#current-input-character>current input
character</a> (add 0x0020 to the character's code point) to the
- current tag token's tag name. Stay in the <a href=#tag-name-state>tag name
- state</a>.</dd>
+ current tag token's tag name.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Reconsume the EOF character in the
@@ -71934,7 +71933,7 @@
<dt>Anything else</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the current
- tag token's tag name. Stay in the <a href=#tag-name-state>tag name state</a>.</dd>
+ tag token's tag name.</dd>
</dl><h5 id=rcdata-less-than-sign-state><span class=secno>10.2.4.11 </span><dfn>RCDATA less-than sign state</dfn></h5>
<!-- identical to the RAWTEXT less-than sign state, except s/RAWTEXT/RCDATA/g -->
@@ -72008,14 +72007,12 @@
<dd>Append the lowercase version of the <a href=#current-input-character>current input
character</a> (add 0x0020 to the character's code point) to the
current tag token's tag name. Append the <a href=#current-input-character>current input
- character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>. Stay in the
- <a href=#rcdata-end-tag-name-state>RCDATA end tag name state</a>.</dd>
+ character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>.</dd>
<dt>U+0061 LATIN SMALL LETTER A through to U+007A LATIN SMALL LETTER Z</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the current
tag token's tag name. Append the <a href=#current-input-character>current input
- character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>. Stay in the
- <a href=#rcdata-end-tag-name-state>RCDATA end tag name state</a>.</dd>
+ character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>.</dd>
<dt>Anything else</dt>
<dd>Emit a U+003C LESS-THAN SIGN character token, a U+002F SOLIDUS
@@ -72096,14 +72093,12 @@
<dd>Append the lowercase version of the <a href=#current-input-character>current input
character</a> (add 0x0020 to the character's code point) to the
current tag token's tag name. Append the <a href=#current-input-character>current input
- character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>. Stay in the
- <a href=#rawtext-end-tag-name-state>RAWTEXT end tag name state</a>.</dd>
+ character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>.</dd>
<dt>U+0061 LATIN SMALL LETTER A through to U+007A LATIN SMALL LETTER Z</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the current
tag token's tag name. Append the <a href=#current-input-character>current input
- character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>. Stay in the
- <a href=#rawtext-end-tag-name-state>RAWTEXT end tag name state</a>.</dd>
+ character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>.</dd>
<dt>Anything else</dt>
<dd>Emit a U+003C LESS-THAN SIGN character token, a U+002F SOLIDUS
@@ -72121,9 +72116,9 @@
to the <a href=#script-data-end-tag-open-state>script data end tag open state</a>.</dd>
<dt>U+0021 EXCLAMATION MARK (!)</dt>
- <dd>Emit a U+003C LESS-THAN SIGN character token and a U+0021
- EXCLAMATION MARK character token. Switch to the <a href=#script-data-escape-start-state>script data
- escape start state</a>.</dd>
+ <dd>Switch to the <a href=#script-data-escape-start-state>script data escape start state</a>. Emit
+ a U+003C LESS-THAN SIGN character token and a U+0021 EXCLAMATION
+ MARK character token.</dd>
<dt>Anything else</dt>
<dd>Emit a U+003C LESS-THAN SIGN character token and reconsume the
@@ -72188,14 +72183,12 @@
<dd>Append the lowercase version of the <a href=#current-input-character>current input
character</a> (add 0x0020 to the character's code point) to the
current tag token's tag name. Append the <a href=#current-input-character>current input
- character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>. Stay in the
- <a href=#script-data-end-tag-name-state>script data end tag name state</a>.</dd>
+ character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>.</dd>
<dt>U+0061 LATIN SMALL LETTER A through to U+007A LATIN SMALL LETTER Z</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the current
tag token's tag name. Append the <a href=#current-input-character>current input
- character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>. Stay in the
- <a href=#script-data-end-tag-name-state>script data end tag name state</a>.</dd>
+ character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>.</dd>
<dt>Anything else</dt>
<dd>Emit a U+003C LESS-THAN SIGN character token, a U+002F SOLIDUS
@@ -72209,8 +72202,8 @@
<p>Consume the <a href=#next-input-character>next input character</a>:</p>
<dl class=switch><dt>U+002D HYPHEN-MINUS (-)</dt>
- <dd>Emit a U+002D HYPHEN-MINUS character token. Switch to the
- <a href=#script-data-escape-start-dash-state>script data escape start dash state</a>.</dd>
+ <dd>Switch to the <a href=#script-data-escape-start-dash-state>script data escape start dash
+ state</a>. Emit a U+002D HYPHEN-MINUS character token.</dd>
<dt>Anything else</dt>
<dd>Reconsume the <a href=#current-input-character>current input character</a> in the
@@ -72221,8 +72214,8 @@
<p>Consume the <a href=#next-input-character>next input character</a>:</p>
<dl class=switch><dt>U+002D HYPHEN-MINUS (-)</dt>
- <dd>Emit a U+002D HYPHEN-MINUS character token. Switch to the
- <a href=#script-data-escaped-dash-dash-state>script data escaped dash dash state</a>.</dd>
+ <dd>Switch to the <a href=#script-data-escaped-dash-dash-state>script data escaped dash dash
+ state</a>. Emit a U+002D HYPHEN-MINUS character token.</dd>
<dt>Anything else</dt>
<dd>Reconsume the <a href=#current-input-character>current input character</a> in the
@@ -72233,8 +72226,8 @@
<p>Consume the <a href=#next-input-character>next input character</a>:</p>
<dl class=switch><dt>U+002D HYPHEN-MINUS (-)</dt>
- <dd>Emit a U+002D HYPHEN-MINUS character token. Switch to the
- <a href=#script-data-escaped-dash-state>script data escaped dash state</a>.</dd>
+ <dd>Switch to the <a href=#script-data-escaped-dash-state>script data escaped dash state</a>. Emit
+ a U+002D HYPHEN-MINUS character token.</dd>
<dt>U+003C LESS-THAN SIGN (<)</dt>
<dd><p>Switch to the <a href=#script-data-escaped-less-than-sign-state>script data escaped less-than sign
@@ -72246,15 +72239,15 @@
<dt>Anything else</dt>
<dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Stay in the <a href=#script-data-escaped-state>script data escaped state</a>.</dd>
+ token.</dd>
</dl><h5 id=script-data-escaped-dash-state><span class=secno>10.2.4.23 </span><dfn>Script data escaped dash state</dfn></h5>
<p>Consume the <a href=#next-input-character>next input character</a>:</p>
<dl class=switch><dt>U+002D HYPHEN-MINUS (-)</dt>
- <dd>Emit a U+002D HYPHEN-MINUS character token. Switch to the
- <a href=#script-data-escaped-dash-dash-state>script data escaped dash dash state</a>.</dd>
+ <dd>Switch to the <a href=#script-data-escaped-dash-dash-state>script data escaped dash dash
+ state</a>. Emit a U+002D HYPHEN-MINUS character token.</dd>
<dt>U+003C LESS-THAN SIGN (<)</dt>
<dd><p>Switch to the <a href=#script-data-escaped-less-than-sign-state>script data escaped less-than sign
@@ -72265,32 +72258,31 @@
<a href=#data-state>data state</a>.</dd>
<dt>Anything else</dt>
- <dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Switch to the <a href=#script-data-escaped-state>script data escaped state</a>.</dd>
+ <dd>Switch to the <a href=#script-data-escaped-state>script data escaped state</a>. Emit the
+ <a href=#current-input-character>current input character</a> as a character token.</dd>
</dl><h5 id=script-data-escaped-dash-dash-state><span class=secno>10.2.4.24 </span><dfn>Script data escaped dash dash state</dfn></h5>
<p>Consume the <a href=#next-input-character>next input character</a>:</p>
<dl class=switch><dt>U+002D HYPHEN-MINUS (-)</dt>
- <dd>Emit a U+002D HYPHEN-MINUS character token. Stay in the
- <a href=#script-data-escaped-dash-dash-state>script data escaped dash dash state</a>.</dd>
+ <dd>Emit a U+002D HYPHEN-MINUS character token.</dd>
<dt>U+003C LESS-THAN SIGN (<)</dt>
<dd><p>Switch to the <a href=#script-data-escaped-less-than-sign-state>script data escaped less-than sign
state</a>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit a U+003E GREATER-THAN SIGN character token. Switch to the
- <a href=#script-data-state>script data state</a>.</dd>
+ <dd>Switch to the <a href=#script-data-state>script data state</a>. Emit a U+003E
+ GREATER-THAN SIGN character token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Reconsume the EOF character in the
<a href=#data-state>data state</a>.</dd>
<dt>Anything else</dt>
- <dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Switch to the <a href=#script-data-escaped-state>script data escaped state</a>.</dd>
+ <dd>Switch to the <a href=#script-data-escaped-state>script data escaped state</a>. Emit the
+ <a href=#current-input-character>current input character</a> as a character token.</dd>
</dl><h5 id=script-data-escaped-less-than-sign-state><span class=secno>10.2.4.25 </span><dfn>Script data escaped less-than sign state</dfn></h5>
@@ -72301,21 +72293,19 @@
to the <a href=#script-data-escaped-end-tag-open-state>script data escaped end tag open state</a>.</dd>
<dt>U+0041 LATIN CAPITAL LETTER A through to U+005A LATIN CAPITAL LETTER Z</dt>
- <dd>Emit a U+003C LESS-THAN SIGN character token and the
- <a href=#current-input-character>current input character</a> as a character token. Set the
- <var><a href=#temporary-buffer>temporary buffer</a></var> to the empty string. Append the
- lowercase version of the <a href=#current-input-character>current input character</a> (add
- 0x0020 to the character's code point) to the <var><a href=#temporary-buffer>temporary
+ <dd>Set the <var><a href=#temporary-buffer>temporary buffer</a></var> to the empty string. Append
+ the lowercase version of the <a href=#current-input-character>current input character</a>
+ (add 0x0020 to the character's code point) to the <var><a href=#temporary-buffer>temporary
buffer</a></var>. Switch to the <a href=#script-data-double-escape-start-state>script data double escape start
- state</a>.</dd>
+ state</a>. Emit a U+003C LESS-THAN SIGN character token and the
+ <a href=#current-input-character>current input character</a> as a character token.</dd>
<dt>U+0061 LATIN SMALL LETTER A through to U+007A LATIN SMALL LETTER Z</dt>
- <dd>Emit a U+003C LESS-THAN SIGN character token and the
- <a href=#current-input-character>current input character</a> as a character token. Set the
- <var><a href=#temporary-buffer>temporary buffer</a></var> to the empty string. Append the
- <a href=#current-input-character>current input character</a> to the <var><a href=#temporary-buffer>temporary
+ <dd>Set the <var><a href=#temporary-buffer>temporary buffer</a></var> to the empty string. Append
+ the <a href=#current-input-character>current input character</a> to the <var><a href=#temporary-buffer>temporary
buffer</a></var>. Switch to the <a href=#script-data-double-escape-start-state>script data double escape start
- state</a>.</dd>
+ state</a>. Emit a U+003C LESS-THAN SIGN character token and the
+ <a href=#current-input-character>current input character</a> as a character token.</dd>
<dt>Anything else</dt>
<dd>Emit a U+003C LESS-THAN SIGN character token and reconsume the
@@ -72378,14 +72368,12 @@
<dd>Append the lowercase version of the <a href=#current-input-character>current input
character</a> (add 0x0020 to the character's code point) to the
current tag token's tag name. Append the <a href=#current-input-character>current input
- character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>. Stay in the
- <a href=#script-data-escaped-end-tag-name-state>script data escaped end tag name state</a>.</dd>
+ character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>.</dd>
<dt>U+0061 LATIN SMALL LETTER A through to U+007A LATIN SMALL LETTER Z</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the current
tag token's tag name. Append the <a href=#current-input-character>current input
- character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>. Stay in the
- <a href=#script-data-escaped-end-tag-name-state>script data escaped end tag name state</a>.</dd>
+ character</a> to the <var><a href=#temporary-buffer>temporary buffer</a></var>.</dd>
<dt>Anything else</dt>
<dd>Emit a U+003C LESS-THAN SIGN character token, a U+002F SOLIDUS
@@ -72405,23 +72393,21 @@
<dt>U+0020 SPACE</dt>
<dt>U+002F SOLIDUS (/)</dt>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. If the <var><a href=#temporary-buffer>temporary buffer</a></var> is the string "<code title="">script</code>", then switch to the <a href=#script-data-double-escaped-state>script data
+ <dd>If the <var><a href=#temporary-buffer>temporary buffer</a></var> is the string "<code title="">script</code>", then switch to the <a href=#script-data-double-escaped-state>script data
double escaped state</a>. Otherwise, switch to the <a href=#script-data-escaped-state>script
- data escaped state</a>.</dd>
+ data escaped state</a>. Emit the <a href=#current-input-character>current input
+ character</a> as a character token.</dd>
<dt>U+0041 LATIN CAPITAL LETTER A through to U+005A LATIN CAPITAL LETTER Z</dt>
- <dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Append the lowercase version of the <a href=#current-input-character>current input
+ <dd>Append the lowercase version of the <a href=#current-input-character>current input
character</a> (add 0x0020 to the character's code point) to the
- <var><a href=#temporary-buffer>temporary buffer</a></var>. Stay in the <a href=#script-data-double-escape-start-state>script data double
- escape start state</a>.</dd>
+ <var><a href=#temporary-buffer>temporary buffer</a></var>. Emit the <a href=#current-input-character>current input
+ character</a> as a character token.</dd>
<dt>U+0061 LATIN SMALL LETTER A through to U+007A LATIN SMALL LETTER Z</dt>
- <dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Append the <a href=#current-input-character>current input character</a> to the
- <var><a href=#temporary-buffer>temporary buffer</a></var>. Stay in the <a href=#script-data-double-escape-start-state>script data double
- escape start state</a>.</dd>
+ <dd>Append the <a href=#current-input-character>current input character</a> to the
+ <var><a href=#temporary-buffer>temporary buffer</a></var>. Emit the <a href=#current-input-character>current input
+ character</a> as a character token.</dd>
<dt>Anything else</dt>
<dd>Reconsume the <a href=#current-input-character>current input character</a> in the
@@ -72432,13 +72418,13 @@
<p>Consume the <a href=#next-input-character>next input character</a>:</p>
<dl class=switch><dt>U+002D HYPHEN-MINUS (-)</dt>
- <dd>Emit a U+002D HYPHEN-MINUS character token. Switch to the
- <a href=#script-data-double-escaped-dash-state>script data double escaped dash state</a>.</dd>
+ <dd>Switch to the <a href=#script-data-double-escaped-dash-state>script data double escaped dash
+ state</a>. Emit a U+002D HYPHEN-MINUS character token.</dd>
<dt>U+003C LESS-THAN SIGN (<)</dt>
- <dd><p>Emit a U+003C LESS-THAN SIGN character token. Switch to the
- <a href=#script-data-double-escaped-less-than-sign-state>script data double escaped less-than sign
- state</a>.</dd>
+ <dd><p>Switch to the <a href=#script-data-double-escaped-less-than-sign-state>script data double escaped less-than
+ sign state</a>. Emit a U+003C LESS-THAN SIGN character
+ token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Reconsume the EOF character in the
@@ -72446,65 +72432,63 @@
<dt>Anything else</dt>
<dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Stay in the <a href=#script-data-double-escaped-state>script data double escaped
- state</a>.</dd>
+ token.</dd>
</dl><h5 id=script-data-double-escaped-dash-state><span class=secno>10.2.4.30 </span><dfn>Script data double escaped dash state</dfn></h5>
<p>Consume the <a href=#next-input-character>next input character</a>:</p>
<dl class=switch><dt>U+002D HYPHEN-MINUS (-)</dt>
- <dd>Emit a U+002D HYPHEN-MINUS character token. Switch to the
- <a href=#script-data-double-escaped-dash-dash-state>script data double escaped dash dash state</a>.</dd>
+ <dd>Switch to the <a href=#script-data-double-escaped-dash-dash-state>script data double escaped dash dash
+ state</a>. Emit a U+002D HYPHEN-MINUS character token.</dd>
<dt>U+003C LESS-THAN SIGN (<)</dt>
- <dd><p>Emit a U+003C LESS-THAN SIGN character token. Switch to the
- <a href=#script-data-double-escaped-less-than-sign-state>script data double escaped less-than sign
- state</a>.</dd>
+ <dd><p>Switch to the <a href=#script-data-double-escaped-less-than-sign-state>script data double escaped less-than
+ sign state</a>. Emit a U+003C LESS-THAN SIGN character
+ token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Reconsume the EOF character in the
<a href=#data-state>data state</a>.</dd>
<dt>Anything else</dt>
- <dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Switch to the <a href=#script-data-double-escaped-state>script data double escaped
- state</a>.</dd>
+ <dd>Switch to the <a href=#script-data-double-escaped-state>script data double escaped
+ state</a>. Emit the <a href=#current-input-character>current input character</a> as a
+ character token.</dd>
</dl><h5 id=script-data-double-escaped-dash-dash-state><span class=secno>10.2.4.31 </span><dfn>Script data double escaped dash dash state</dfn></h5>
<p>Consume the <a href=#next-input-character>next input character</a>:</p>
<dl class=switch><dt>U+002D HYPHEN-MINUS (-)</dt>
- <dd>Emit a U+002D HYPHEN-MINUS character token. Stay in the
- <a href=#script-data-double-escaped-dash-dash-state>script data double escaped dash dash state</a>.</dd>
+ <dd>Emit a U+002D HYPHEN-MINUS character token.</dd>
<dt>U+003C LESS-THAN SIGN (<)</dt>
- <dd><p>Emit a U+003C LESS-THAN SIGN character token. Switch to the
- <a href=#script-data-double-escaped-less-than-sign-state>script data double escaped less-than sign
- state</a>.</dd>
+ <dd><p>Switch to the <a href=#script-data-double-escaped-less-than-sign-state>script data double escaped less-than
+ sign state</a>. Emit a U+003C LESS-THAN SIGN character
+ token.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit a U+003E GREATER-THAN SIGN character token. Switch to the
- <a href=#script-data-state>script data state</a>.</dd>
+ <dd>Switch to the <a href=#script-data-state>script data state</a>. Emit a U+003E
+ GREATER-THAN SIGN character token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Reconsume the EOF character in the
<a href=#data-state>data state</a>.</dd>
<dt>Anything else</dt>
- <dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Switch to the <a href=#script-data-double-escaped-state>script data double escaped
- state</a>.</dd>
+ <dd>Switch to the <a href=#script-data-double-escaped-state>script data double escaped
+ state</a>. Emit the <a href=#current-input-character>current input character</a> as a
+ character token.</dd>
</dl><h5 id=script-data-double-escaped-less-than-sign-state><span class=secno>10.2.4.32 </span><dfn>Script data double escaped less-than sign state</dfn></h5>
<p>Consume the <a href=#next-input-character>next input character</a>:</p>
<dl class=switch><dt>U+002F SOLIDUS (/)</dt>
- <dd>Emit a U+002F SOLIDUS character token. Set the <var><a href=#temporary-buffer>temporary
- buffer</a></var> to the empty string. Switch to the <a href=#script-data-double-escape-end-state>script data
- double escape end state</a>.</dd>
+ <dd>Set the <var><a href=#temporary-buffer>temporary buffer</a></var> to the empty string. Switch
+ to the <a href=#script-data-double-escape-end-state>script data double escape end state</a>. Emit a
+ U+002F SOLIDUS character token.</dd>
<dt>Anything else</dt>
<dd>Reconsume the <a href=#current-input-character>current input character</a> in the
@@ -72521,23 +72505,21 @@
<dt>U+0020 SPACE</dt>
<dt>U+002F SOLIDUS (/)</dt>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. If the <var><a href=#temporary-buffer>temporary buffer</a></var> is the string "<code title="">script</code>", then switch to the <a href=#script-data-escaped-state>script data
+ <dd>If the <var><a href=#temporary-buffer>temporary buffer</a></var> is the string "<code title="">script</code>", then switch to the <a href=#script-data-escaped-state>script data
escaped state</a>. Otherwise, switch to the <a href=#script-data-double-escaped-state>script data
- double escaped state</a>.</dd>
+ double escaped state</a>. Emit the <a href=#current-input-character>current input
+ character</a> as a character token.</dd>
<dt>U+0041 LATIN CAPITAL LETTER A through to U+005A LATIN CAPITAL LETTER Z</dt>
- <dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Append the lowercase version of the <a href=#current-input-character>current input
+ <dd>Append the lowercase version of the <a href=#current-input-character>current input
character</a> (add 0x0020 to the character's code point) to the
- <var><a href=#temporary-buffer>temporary buffer</a></var>. Stay in the <a href=#script-data-double-escape-end-state>script data double
- escape end state</a>.</dd>
+ <var><a href=#temporary-buffer>temporary buffer</a></var>. Emit the <a href=#current-input-character>current input
+ character</a> as a character token.</dd>
<dt>U+0061 LATIN SMALL LETTER A through to U+007A LATIN SMALL LETTER Z</dt>
- <dd>Emit the <a href=#current-input-character>current input character</a> as a character
- token. Append the <a href=#current-input-character>current input character</a> to the
- <var><a href=#temporary-buffer>temporary buffer</a></var>. Stay in the <a href=#script-data-double-escape-end-state>script data double
- escape end state</a>.</dd>
+ <dd>Append the <a href=#current-input-character>current input character</a> to the
+ <var><a href=#temporary-buffer>temporary buffer</a></var>. Emit the <a href=#current-input-character>current input
+ character</a> as a character token.</dd>
<dt>Anything else</dt>
<dd>Reconsume the <a href=#current-input-character>current input character</a> in the
@@ -72552,14 +72534,14 @@
<dt>U+000C FORM FEED (FF)</dt>
<!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
<dt>U+0020 SPACE</dt>
- <dd>Stay in the <a href=#before-attribute-name-state>before attribute name state</a>.</dd>
+ <dd>Ignore the character.</dd>
<dt>U+002F SOLIDUS (/)</dt>
<dd>Switch to the <a href=#self-closing-start-tag-state>self-closing start tag state</a>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current tag token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <dd>Switch to the <a href=#data-state>data state</a>. Emit the current tag
+ token.</dd>
<dt>U+0041 LATIN CAPITAL LETTER A through to U+005A LATIN CAPITAL LETTER Z</dt>
<dd>Start a new attribute in the current tag token. Set that
@@ -72603,14 +72585,13 @@
<dd>Switch to the <a href=#before-attribute-value-state>before attribute value state</a>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current tag token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <dd>Switch to the <a href=#data-state>data state</a>. Emit the current tag
+ token.</dd>
<dt>U+0041 LATIN CAPITAL LETTER A through to U+005A LATIN CAPITAL LETTER Z</dt>
<dd>Append the lowercase version of the <a href=#current-input-character>current input
character</a> (add 0x0020 to the character's code point) to the
- current attribute's name. Stay in the <a href=#attribute-name-state>attribute name
- state</a>.</dd>
+ current attribute's name.</dd>
<dt>U+0022 QUOTATION MARK (")</dt>
<dt>U+0027 APOSTROPHE (')</dt>
@@ -72624,8 +72605,7 @@
<dt>Anything else</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the current
- attribute's name. Stay in the <a href=#attribute-name-state>attribute name
- state</a>.</dd>
+ attribute's name.</dd>
</dl><p>When the user agent leaves the attribute name state (and before
emitting the tag token, if appropriate), the complete attribute's
@@ -72645,7 +72625,7 @@
<dt>U+000C FORM FEED (FF)</dt>
<!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
<dt>U+0020 SPACE</dt>
- <dd>Stay in the <a href=#after-attribute-name-state>after attribute name state</a>.</dd>
+ <dd>Ignore the character.</dd>
<dt>U+002F SOLIDUS (/)</dt>
<dd>Switch to the <a href=#self-closing-start-tag-state>self-closing start tag state</a>.</dd>
@@ -72654,8 +72634,8 @@
<dd>Switch to the <a href=#before-attribute-value-state>before attribute value state</a>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current tag token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <dd>Switch to the <a href=#data-state>data state</a>. Emit the current tag
+ token.</dd>
<dt>U+0041 LATIN CAPITAL LETTER A through to U+005A LATIN CAPITAL LETTER Z</dt>
<dd>Start a new attribute in the current tag token. Set that
@@ -72689,7 +72669,7 @@
<dt>U+000C FORM FEED (FF)</dt>
<!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
<dt>U+0020 SPACE</dt>
- <dd>Stay in the <a href=#before-attribute-value-state>before attribute value state</a>.</dd>
+ <dd>Ignore the character.</dd>
<dt>U+0022 QUOTATION MARK (")</dt>
<dd>Switch to the <a href=#attribute-value-(double-quoted)-state>attribute value (double-quoted) state</a>.</dd>
@@ -72702,8 +72682,8 @@
<dd>Switch to the <a href=#attribute-value-(single-quoted)-state>attribute value (single-quoted) state</a>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd><a href=#parse-error>Parse error</a>. Emit the current tag token. Switch to
- the <a href=#data-state>data state</a>.</dd>
+ <dd><a href=#parse-error>Parse error</a>. Switch to the <a href=#data-state>data
+ state</a>. Emit the current tag token.</dd>
<dt>U+003C LESS-THAN SIGN (<)</dt>
<dt>U+003D EQUALS SIGN (=)</dt>
@@ -72739,8 +72719,7 @@
<dt>Anything else</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the current
- attribute's value. Stay in the <a href=#attribute-value-(double-quoted)-state>attribute value
- (double-quoted) state</a>.</dd>
+ attribute's value.</dd>
</dl><h5 id=attribute-value-(single-quoted)-state><span class=secno>10.2.4.39 </span><dfn>Attribute value (single-quoted) state</dfn></h5>
@@ -72761,8 +72740,7 @@
<dt>Anything else</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the current
- attribute's value. Stay in the <a href=#attribute-value-(single-quoted)-state>attribute value
- (single-quoted) state</a>.</dd>
+ attribute's value.</dd>
</dl><h5 id=attribute-value-(unquoted)-state><span class=secno>10.2.4.40 </span><dfn>Attribute value (unquoted) state</dfn></h5>
@@ -72781,8 +72759,8 @@
being U+003E GREATER-THAN SIGN (>).</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current tag token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <dd>Switch to the <a href=#data-state>data state</a>. Emit the current tag
+ token.</dd>
<dt>U+0022 QUOTATION MARK (")</dt>
<dt>U+0027 APOSTROPHE (')</dt>
@@ -72798,8 +72776,7 @@
<dt>Anything else</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the current
- attribute's value. Stay in the <a href=#attribute-value-(unquoted)-state>attribute value (unquoted)
- state</a>.</dd>
+ attribute's value.</dd>
</dl><h5 id=character-reference-in-attribute-value-state><span class=secno>10.2.4.41 </span><dfn>Character reference in attribute value state</dfn></h5>
@@ -72830,8 +72807,8 @@
<dd>Switch to the <a href=#self-closing-start-tag-state>self-closing start tag state</a>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current tag token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <dd>Switch to the <a href=#data-state>data state</a>. Emit the current tag
+ token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Reconsume the EOF character in the
@@ -72847,8 +72824,8 @@
<dl class=switch><dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd>Set the <i>self-closing flag</i> of the current tag
- token. Emit the current tag token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ token. Switch to the <a href=#data-state>data state</a>. Emit the current tag
+ token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Reconsume the EOF character in the
@@ -72909,9 +72886,9 @@
<dd>Switch to the <a href=#comment-start-dash-state>comment start dash state</a>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd><a href=#parse-error>Parse error</a>. Emit the comment token. Switch to the
- <a href=#data-state>data state</a>.</dd> <!-- see comment in comment end state
- -->
+ <dd><a href=#parse-error>Parse error</a>. Switch to the <a href=#data-state>data
+ state</a>. Emit the comment token.</dd> <!-- see comment in
+ comment end state -->
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Emit the comment token. Reconsume
@@ -72929,8 +72906,8 @@
<dd>Switch to the <a href=#comment-end-state>comment end state</a></dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd><a href=#parse-error>Parse error</a>. Emit the comment token. Switch to
- the <a href=#data-state>data state</a>.</dd>
+ <dd><a href=#parse-error>Parse error</a>. 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
@@ -72956,7 +72933,7 @@
<dt>Anything else</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the comment
- token's data. Stay in the <a href=#comment-state>comment state</a>.</dd>
+ token's data.</dd>
</dl><h5 id=comment-end-dash-state><span class=secno>10.2.4.49 </span><dfn>Comment end dash state</dfn></h5>
@@ -72980,8 +72957,8 @@
<p>Consume the <a href=#next-input-character>next input character</a>:</p>
<dl class=switch><dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the comment token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <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>
@@ -72999,8 +72976,7 @@
<dt>U+002D HYPHEN-MINUS (-)</dt>
<dd><a href=#parse-error>Parse error</a>. Append a U+002D HYPHEN-MINUS
- character (-) to the comment token's data. Stay in the
- <a href=#comment-end-state>comment end state</a>.</dd>
+ character (-) to the comment token's data.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Emit the comment token. Reconsume
@@ -73026,8 +73002,8 @@
to the <a href=#comment-end-dash-state>comment end dash state</a>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the comment token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <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
@@ -73049,15 +73025,14 @@
<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. Stay in
- the <a href=#comment-end-space-state>comment end space state</a>.</dd>
+ <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 (>)</dt>
- <dd>Emit the comment token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <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
@@ -73097,7 +73072,7 @@
<dt>U+000C FORM FEED (FF)</dt>
<!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
<dt>U+0020 SPACE</dt>
- <dd>Stay in the <a href=#before-doctype-name-state>before DOCTYPE name state</a>.</dd>
+ <dd>Ignore the character.</dd>
<dt>U+0041 LATIN CAPITAL LETTER A through to U+005A LATIN CAPITAL LETTER Z</dt>
<dd>Create a new DOCTYPE token. Set the token's name to the
@@ -73107,8 +73082,8 @@
<dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd><a href=#parse-error>Parse error</a>. Create a new DOCTYPE token. Set its
- <i>force-quirks flag</i> to <i>on</i>. Emit the token. Switch to
- the <a href=#data-state>data state</a>.</dd>
+ <i>force-quirks flag</i> to <i>on</i>. Switch to the <a href=#data-state>data
+ state</a>. Emit the token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Create a new DOCTYPE token. Set its
@@ -73132,14 +73107,13 @@
<dd>Switch to the <a href=#after-doctype-name-state>after DOCTYPE name state</a>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current DOCTYPE token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <dd>Switch to the <a href=#data-state>data state</a>. Emit the current DOCTYPE
+ token.</dd>
<dt>U+0041 LATIN CAPITAL LETTER A through to U+005A LATIN CAPITAL LETTER Z</dt>
<dd>Append the lowercase version of the <a href=#current-input-character>current input
character</a> (add 0x0020 to the character's code point) to the
- current DOCTYPE token's name. Stay in the <a href=#doctype-name-state>DOCTYPE name
- state</a>.</dd>
+ current DOCTYPE token's name.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
@@ -73148,8 +73122,7 @@
<dt>Anything else</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the current
- DOCTYPE token's name. Stay in the <a href=#doctype-name-state>DOCTYPE name
- state</a>.</dd>
+ DOCTYPE token's name.</dd>
</dl><h5 id=after-doctype-name-state><span class=secno>10.2.4.56 </span><dfn>After DOCTYPE name state</dfn></h5>
@@ -73160,11 +73133,11 @@
<dt>U+000C FORM FEED (FF)</dt>
<!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
<dt>U+0020 SPACE</dt>
- <dd>Stay in the <a href=#after-doctype-name-state>after DOCTYPE name state</a>.</dd>
+ <dd>Ignore the character.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current DOCTYPE token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <dd>Switch to the <a href=#data-state>data state</a>. Emit the current DOCTYPE
+ token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
@@ -73215,8 +73188,8 @@
<dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
- <i>force-quirks flag</i> to <i>on</i>. Emit that DOCTYPE
- token. Switch to the <a href=#data-state>data state</a>.</dd>
+ <i>force-quirks flag</i> to <i>on</i>. Switch to the <a href=#data-state>data
+ state</a>. Emit that DOCTYPE token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
@@ -73237,7 +73210,7 @@
<dt>U+000C FORM FEED (FF)</dt>
<!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
<dt>U+0020 SPACE</dt>
- <dd>Stay in the <a href=#before-doctype-public-identifier-state>before DOCTYPE public identifier state</a>.</dd>
+ <dd>Ignore the character.</dd>
<dt>U+0022 QUOTATION MARK (")</dt>
<dd>Set the DOCTYPE token's public identifier to the empty string
@@ -73251,8 +73224,8 @@
<dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
- <i>force-quirks flag</i> to <i>on</i>. Emit that DOCTYPE
- token. Switch to the <a href=#data-state>data state</a>.</dd>
+ <i>force-quirks flag</i> to <i>on</i>. Switch to the <a href=#data-state>data
+ state</a>. Emit that DOCTYPE token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
@@ -73273,8 +73246,8 @@
<dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
- <i>force-quirks flag</i> to <i>on</i>. Emit that DOCTYPE
- token. Switch to the <a href=#data-state>data state</a>.</dd>
+ <i>force-quirks flag</i> to <i>on</i>. Switch to the <a href=#data-state>data
+ state</a>. Emit that DOCTYPE token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
@@ -73283,8 +73256,7 @@
<dt>Anything else</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the current DOCTYPE
- token's public identifier. Stay in the <a href=#doctype-public-identifier-(double-quoted)-state>DOCTYPE public
- identifier (double-quoted) state</a>.</dd>
+ token's public identifier.</dd>
</dl><h5 id=doctype-public-identifier-(single-quoted)-state><span class=secno>10.2.4.60 </span><dfn>DOCTYPE public identifier (single-quoted) state</dfn></h5>
@@ -73295,8 +73267,8 @@
<dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
- <i>force-quirks flag</i> to <i>on</i>. Emit that DOCTYPE
- token. Switch to the <a href=#data-state>data state</a>.</dd>
+ <i>force-quirks flag</i> to <i>on</i>. Switch to the <a href=#data-state>data
+ state</a>. Emit that DOCTYPE token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
@@ -73305,8 +73277,7 @@
<dt>Anything else</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the current DOCTYPE
- token's public identifier. Stay in the <a href=#doctype-public-identifier-(single-quoted)-state>DOCTYPE public
- identifier (single-quoted) state</a>.</dd>
+ token's public identifier.</dd>
</dl><h5 id=after-doctype-public-identifier-state><span class=secno>10.2.4.61 </span><dfn>After DOCTYPE public identifier state</dfn></h5>
@@ -73321,8 +73292,8 @@
identifiers state</a>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current DOCTYPE token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <dd>Switch to the <a href=#data-state>data state</a>. Emit the current DOCTYPE
+ token.</dd>
<dt>U+0022 QUOTATION MARK (")</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's system
@@ -73353,12 +73324,11 @@
<dt>U+000C FORM FEED (FF)</dt>
<!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
<dt>U+0020 SPACE</dt>
- <dd>Stay in the <a href=#between-doctype-public-and-system-identifiers-state>between DOCTYPE public and system identifiers
- state</a>.</dd>
+ <dd>Ignore the character.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current DOCTYPE token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <dd>Switch to the <a href=#data-state>data state</a>. Emit the current DOCTYPE
+ token.</dd>
<dt>U+0022 QUOTATION MARK (")</dt>
<dd>Set the DOCTYPE token's system identifier to the empty string
@@ -73404,8 +73374,8 @@
<dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
- <i>force-quirks flag</i> to <i>on</i>. Emit that DOCTYPE
- token. Switch to the <a href=#data-state>data state</a>.</dd>
+ <i>force-quirks flag</i> to <i>on</i>. Switch to the <a href=#data-state>data
+ state</a>. Emit that DOCTYPE token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
@@ -73426,7 +73396,7 @@
<dt>U+000C FORM FEED (FF)</dt>
<!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
<dt>U+0020 SPACE</dt>
- <dd>Stay in the <a href=#before-doctype-system-identifier-state>before DOCTYPE system identifier state</a>.</dd>
+ <dd>Ignore the character.</dd>
<dt>U+0022 QUOTATION MARK (")</dt>
<dd>Set the DOCTYPE token's system identifier to the empty string
@@ -73440,8 +73410,8 @@
<dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
- <i>force-quirks flag</i> to <i>on</i>. Emit that DOCTYPE
- token. Switch to the <a href=#data-state>data state</a>.</dd>
+ <i>force-quirks flag</i> to <i>on</i>. Switch to the <a href=#data-state>data
+ state</a>. Emit that DOCTYPE token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
@@ -73463,8 +73433,8 @@
<dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
- <i>force-quirks flag</i> to <i>on</i>. Emit that DOCTYPE
- token. Switch to the <a href=#data-state>data state</a>.</dd>
+ <i>force-quirks flag</i> to <i>on</i>. Switch to the <a href=#data-state>data
+ state</a>. Emit that DOCTYPE token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
@@ -73473,8 +73443,7 @@
<dt>Anything else</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the current
- DOCTYPE token's system identifier. Stay in the <a href=#doctype-system-identifier-(double-quoted)-state>DOCTYPE system
- identifier (double-quoted) state</a>.</dd>
+ DOCTYPE token's system identifier.</dd>
</dl><h5 id=doctype-system-identifier-(single-quoted)-state><span class=secno>10.2.4.66 </span><dfn>DOCTYPE system identifier (single-quoted) state</dfn></h5>
@@ -73486,8 +73455,8 @@
<dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
- <i>force-quirks flag</i> to <i>on</i>. Emit that DOCTYPE
- token. Switch to the <a href=#data-state>data state</a>.</dd>
+ <i>force-quirks flag</i> to <i>on</i>. Switch to the <a href=#data-state>data
+ state</a>. Emit that DOCTYPE token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
@@ -73496,8 +73465,7 @@
<dt>Anything else</dt>
<dd>Append the <a href=#current-input-character>current input character</a> to the current
- DOCTYPE token's system identifier. Stay in the <a href=#doctype-system-identifier-(single-quoted)-state>DOCTYPE system
- identifier (single-quoted) state</a>.</dd>
+ DOCTYPE token's system identifier.</dd>
</dl><h5 id=after-doctype-system-identifier-state><span class=secno>10.2.4.67 </span><dfn>After DOCTYPE system identifier state</dfn></h5>
@@ -73508,12 +73476,11 @@
<dt>U+000C FORM FEED (FF)</dt>
<!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
<dt>U+0020 SPACE</dt>
- <dd>Stay in the <a href=#after-doctype-system-identifier-state>after DOCTYPE system identifier
- state</a>.</dd>
+ <dd>Ignore the character.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current DOCTYPE token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <dd>Switch to the <a href=#data-state>data state</a>. Emit the current DOCTYPE
+ token.</dd>
<dt>EOF</dt>
<dd><a href=#parse-error>Parse error</a>. Set the DOCTYPE token's
@@ -73530,15 +73497,15 @@
<p>Consume the <a href=#next-input-character>next input character</a>:</p>
<dl class=switch><dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the DOCTYPE token. Switch to the <a href=#data-state>data
- state</a>.</dd>
+ <dd>Switch to the <a href=#data-state>data state</a>. Emit the DOCTYPE
+ token.</dd>
<dt>EOF</dt>
<dd>Emit the DOCTYPE token. Reconsume the EOF character in the
<a href=#data-state>data state</a>.</dd>
<dt>Anything else</dt>
- <dd>Stay in the <a href=#bogus-doctype-state>bogus DOCTYPE state</a>.</dd>
+ <dd>Ignore the character.</dd>
</dl><h5 id=cdata-section-state><span class=secno>10.2.4.69 </span><dfn>CDATA section state</dfn></h5>
@@ -76720,9 +76687,9 @@
<dd>
<p>If the <a href=#stack-of-open-elements>stack of open elements</a> does not <a href=#has-an-element-in-table-scope title="has an element in table scope">have an element in table
- scope</a> with the same tag name as that of the token
- (which can only happen for "tbody", "tfoot" and "thead", or,
- in the <a href=#fragment-case>fragment case</a>), then this is a <a href=#parse-error>parse
+ scope</a> with the same tag name as that of the token (which
+ can only happen for "tbody", "tfoot" and "thead", or in the
+ <a href=#fragment-case>fragment case</a>), then this is a <a href=#parse-error>parse
error</a> and the token must be ignored.</p>
<p>Otherwise, <a href=#close-the-cell>close the cell</a> (see below) and
Modified: source
===================================================================
--- source 2010-07-14 19:19:17 UTC (rev 5163)
+++ source 2010-07-14 21:10:48 UTC (rev 5164)
@@ -89655,7 +89655,7 @@
<dt>Anything else</dt>
<dd>Emit the <span>current input character</span> as a character
- token. Stay in the <span>data state</span>.</dd>
+ token.</dd>
</dl>
@@ -89691,7 +89691,7 @@
<dt>Anything else</dt>
<dd>Emit the <span>current input character</span> as a character
- token. Stay in the <span>RCDATA state</span>.</dd>
+ token.</dd>
</dl>
@@ -89723,7 +89723,7 @@
<dt>Anything else</dt>
<dd>Emit the <span>current input character</span> as a character
- token. Stay in the <span>RAWTEXT state</span>.</dd>
+ token.</dd>
</dl>
@@ -89742,7 +89742,7 @@
<dt>Anything else</dt>
<dd>Emit the <span>current input character</span> as a character
- token. Stay in the <span>script data state</span>.</dd>
+ token.</dd>
</dl>
@@ -89758,7 +89758,7 @@
<dt>Anything else</dt>
<dd>Emit the <span>current input character</span> as a character
- token. Stay in the <span>PLAINTEXT state</span>.</dd>
+ token.</dd>
</dl>
@@ -89852,14 +89852,13 @@
<dd>Switch to the <span>self-closing start tag state</span>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current tag token. Switch to the <span>data
- state</span>.</dd>
+ <dd>Switch to the <span>data state</span>. Emit the current tag
+ token.</dd>
<dt>U+0041 LATIN CAPITAL LETTER A through to U+005A LATIN CAPITAL LETTER Z</dt>
<dd>Append the lowercase version of the <span>current input
character</span> (add 0x0020 to the character's code point) to the
- current tag token's tag name. Stay in the <span>tag name
- state</span>.</dd>
+ current tag token's tag name.</dd>
<dt>EOF</dt>
<dd><span>Parse error</span>. Reconsume the EOF character in the
@@ -89867,7 +89866,7 @@
<dt>Anything else</dt>
<dd>Append the <span>current input character</span> to the current
- tag token's tag name. Stay in the <span>tag name state</span>.</dd>
+ tag token's tag name.</dd>
</dl>
@@ -89956,14 +89955,12 @@
<dd>Append the lowercase version of the <span>current input
character</span> (add 0x0020 to the character's code point) to the
current tag token's tag name. Append the <span>current input
- character</span> to the <var>temporary buffer</var>. Stay in the
- <span>RCDATA end tag name state</span>.</dd>
+ character</span> to the <var>temporary buffer</var>.</dd>
<dt>U+0061 LATIN SMALL LETTER A through to U+007A LATIN SMALL LETTER Z</dt>
<dd>Append the <span>current input character</span> to the current
tag token's tag name. Append the <span>current input
- character</span> to the <var>temporary buffer</var>. Stay in the
- <span>RCDATA end tag name state</span>.</dd>
+ character</span> to the <var>temporary buffer</var>.</dd>
<dt>Anything else</dt>
<dd>Emit a U+003C LESS-THAN SIGN character token, a U+002F SOLIDUS
@@ -90059,14 +90056,12 @@
<dd>Append the lowercase version of the <span>current input
character</span> (add 0x0020 to the character's code point) to the
current tag token's tag name. Append the <span>current input
- character</span> to the <var>temporary buffer</var>. Stay in the
- <span>RAWTEXT end tag name state</span>.</dd>
+ character</span> to the <var>temporary buffer</var>.</dd>
<dt>U+0061 LATIN SMALL LETTER A through to U+007A LATIN SMALL LETTER Z</dt>
<dd>Append the <span>current input character</span> to the current
tag token's tag name. Append the <span>current input
- character</span> to the <var>temporary buffer</var>. Stay in the
- <span>RAWTEXT end tag name state</span>.</dd>
+ character</span> to the <var>temporary buffer</var>.</dd>
<dt>Anything else</dt>
<dd>Emit a U+003C LESS-THAN SIGN character token, a U+002F SOLIDUS
@@ -90089,9 +90084,9 @@
to the <span>script data end tag open state</span>.</dd>
<dt>U+0021 EXCLAMATION MARK (!)</dt>
- <dd>Emit a U+003C LESS-THAN SIGN character token and a U+0021
- EXCLAMATION MARK character token. Switch to the <span>script data
- escape start state</span>.</dd>
+ <dd>Switch to the <span>script data escape start state</span>. Emit
+ a U+003C LESS-THAN SIGN character token and a U+0021 EXCLAMATION
+ MARK character token.</dd>
<dt>Anything else</dt>
<dd>Emit a U+003C LESS-THAN SIGN character token and reconsume the
@@ -90166,14 +90161,12 @@
<dd>Append the lowercase version of the <span>current input
character</span> (add 0x0020 to the character's code point) to the
current tag token's tag name. Append the <span>current input
- character</span> to the <var>temporary buffer</var>. Stay in the
- <span>script data end tag name state</span>.</dd>
+ character</span> to the <var>temporary buffer</var>.</dd>
<dt>U+0061 LATIN SMALL LETTER A through to U+007A LATIN SMALL LETTER Z</dt>
<dd>Append the <span>current input character</span> to the current
tag token's tag name. Append the <span>current input
- character</span> to the <var>temporary buffer</var>. Stay in the
- <span>script data end tag name state</span>.</dd>
+ character</span> to the <var>temporary buffer</var>.</dd>
<dt>Anything else</dt>
<dd>Emit a U+003C LESS-THAN SIGN character token, a U+002F SOLIDUS
@@ -90192,8 +90185,8 @@
<dl class="switch">
<dt>U+002D HYPHEN-MINUS (-)</dt>
- <dd>Emit a U+002D HYPHEN-MINUS character token. Switch to the
- <span>script data escape start dash state</span>.</dd>
+ <dd>Switch to the <span>script data escape start dash
+ state</span>. Emit a U+002D HYPHEN-MINUS character token.</dd>
<dt>Anything else</dt>
<dd>Reconsume the <span>current input character</span> in the
@@ -90209,8 +90202,8 @@
<dl class="switch">
<dt>U+002D HYPHEN-MINUS (-)</dt>
- <dd>Emit a U+002D HYPHEN-MINUS character token. Switch to the
- <span>script data escaped dash dash state</span>.</dd>
+ <dd>Switch to the <span>script data escaped dash dash
+ state</span>. Emit a U+002D HYPHEN-MINUS character token.</dd>
<dt>Anything else</dt>
<dd>Reconsume the <span>current input character</span> in the
@@ -90226,8 +90219,8 @@
<dl class="switch">
<dt>U+002D HYPHEN-MINUS (-)</dt>
- <dd>Emit a U+002D HYPHEN-MINUS character token. Switch to the
- <span>script data escaped dash state</span>.</dd>
+ <dd>Switch to the <span>script data escaped dash state</span>. Emit
+ a U+002D HYPHEN-MINUS character token.</dd>
<dt>U+003C LESS-THAN SIGN (<)</dt>
<dd><p>Switch to the <span>script data escaped less-than sign
@@ -90239,7 +90232,7 @@
<dt>Anything else</dt>
<dd>Emit the <span>current input character</span> as a character
- token. Stay in the <span>script data escaped state</span>.</dd>
+ token.</dd>
</dl>
@@ -90251,8 +90244,8 @@
<dl class="switch">
<dt>U+002D HYPHEN-MINUS (-)</dt>
- <dd>Emit a U+002D HYPHEN-MINUS character token. Switch to the
- <span>script data escaped dash dash state</span>.</dd>
+ <dd>Switch to the <span>script data escaped dash dash
+ state</span>. Emit a U+002D HYPHEN-MINUS character token.</dd>
<dt>U+003C LESS-THAN SIGN (<)</dt>
<dd><p>Switch to the <span>script data escaped less-than sign
@@ -90263,8 +90256,8 @@
<span>data state</span>.</dd>
<dt>Anything else</dt>
- <dd>Emit the <span>current input character</span> as a character
- token. Switch to the <span>script data escaped state</span>.</dd>
+ <dd>Switch to the <span>script data escaped state</span>. Emit the
+ <span>current input character</span> as a character token.</dd>
</dl>
@@ -90276,24 +90269,23 @@
<dl class="switch">
<dt>U+002D HYPHEN-MINUS (-)</dt>
- <dd>Emit a U+002D HYPHEN-MINUS character token. Stay in the
- <span>script data escaped dash dash state</span>.</dd>
+ <dd>Emit a U+002D HYPHEN-MINUS character token.</dd>
<dt>U+003C LESS-THAN SIGN (<)</dt>
<dd><p>Switch to the <span>script data escaped less-than sign
state</span>.</p></dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit a U+003E GREATER-THAN SIGN character token. Switch to the
- <span>script data state</span>.</dd>
+ <dd>Switch to the <span>script data state</span>. Emit a U+003E
+ GREATER-THAN SIGN character token.</dd>
<dt>EOF</dt>
<dd><span>Parse error</span>. Reconsume the EOF character in the
<span>data state</span>.</dd>
<dt>Anything else</dt>
- <dd>Emit the <span>current input character</span> as a character
- token. Switch to the <span>script data escaped state</span>.</dd>
+ <dd>Switch to the <span>script data escaped state</span>. Emit the
+ <span>current input character</span> as a character token.</dd>
</dl>
@@ -90309,21 +90301,19 @@
to the <span>script data escaped end tag open state</span>.</dd>
<dt>U+0041 LATIN CAPITAL LETTER A through to U+005A LATIN CAPITAL LETTER Z</dt>
- <dd>Emit a U+003C LESS-THAN SIGN character token and the
- <span>current input character</span> as a character token. Set the
- <var>temporary buffer</var> to the empty string. Append the
- lowercase version of the <span>current input character</span> (add
- 0x0020 to the character's code point) to the <var>temporary
+ <dd>Set the <var>temporary buffer</var> to the empty string. Append
+ the lowercase version of the <span>current input character</span>
+ (add 0x0020 to the character's code point) to the <var>temporary
buffer</var>. Switch to the <span>script data double escape start
- state</span>.</dd>
+ state</span>. Emit a U+003C LESS-THAN SIGN character token and the
+ <span>current input character</span> as a character token.</dd>
<dt>U+0061 LATIN SMALL LETTER A through to U+007A LATIN SMALL LETTER Z</dt>
- <dd>Emit a U+003C LESS-THAN SIGN character token and the
- <span>current input character</span> as a character token. Set the
- <var>temporary buffer</var> to the empty string. Append the
- <span>current input character</span> to the <var>temporary
+ <dd>Set the <var>temporary buffer</var> to the empty string. Append
+ the <span>current input character</span> to the <var>temporary
buffer</var>. Switch to the <span>script data double escape start
- state</span>.</dd>
+ state</span>. Emit a U+003C LESS-THAN SIGN character token and the
+ <span>current input character</span> as a character token.</dd>
<dt>Anything else</dt>
<dd>Emit a U+003C LESS-THAN SIGN character token and reconsume the
@@ -90396,14 +90386,12 @@
<dd>Append the lowercase version of the <span>current input
character</span> (add 0x0020 to the character's code point) to the
current tag token's tag name. Append the <span>current input
- character</span> to the <var>temporary buffer</var>. Stay in the
- <span>script data escaped end tag name state</span>.</dd>
+ character</span> to the <var>temporary buffer</var>.</dd>
<dt>U+0061 LATIN SMALL LETTER A through to U+007A LATIN SMALL LETTER Z</dt>
<dd>Append the <span>current input character</span> to the current
tag token's tag name. Append the <span>current input
- character</span> to the <var>temporary buffer</var>. Stay in the
- <span>script data escaped end tag name state</span>.</dd>
+ character</span> to the <var>temporary buffer</var>.</dd>
<dt>Anything else</dt>
<dd>Emit a U+003C LESS-THAN SIGN character token, a U+002F SOLIDUS
@@ -90428,24 +90416,22 @@
<dt>U+0020 SPACE</dt>
<dt>U+002F SOLIDUS (/)</dt>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the <span>current input character</span> as a character
- token. If the <var>temporary buffer</var> is the string "<code
+ <dd>If the <var>temporary buffer</var> is the string "<code
title="">script</code>", then switch to the <span>script data
double escaped state</span>. Otherwise, switch to the <span>script
- data escaped state</span>.</dd>
+ data escaped state</span>. Emit the <span>current input
+ character</span> as a character token.</dd>
<dt>U+0041 LATIN CAPITAL LETTER A through to U+005A LATIN CAPITAL LETTER Z</dt>
- <dd>Emit the <span>current input character</span> as a character
- token. Append the lowercase version of the <span>current input
+ <dd>Append the lowercase version of the <span>current input
character</span> (add 0x0020 to the character's code point) to the
- <var>temporary buffer</var>. Stay in the <span>script data double
- escape start state</span>.</dd>
+ <var>temporary buffer</var>. Emit the <span>current input
+ character</span> as a character token.</dd>
<dt>U+0061 LATIN SMALL LETTER A through to U+007A LATIN SMALL LETTER Z</dt>
- <dd>Emit the <span>current input character</span> as a character
- token. Append the <span>current input character</span> to the
- <var>temporary buffer</var>. Stay in the <span>script data double
- escape start state</span>.</dd>
+ <dd>Append the <span>current input character</span> to the
+ <var>temporary buffer</var>. Emit the <span>current input
+ character</span> as a character token.</dd>
<dt>Anything else</dt>
<dd>Reconsume the <span>current input character</span> in the
@@ -90461,13 +90447,13 @@
<dl class="switch">
<dt>U+002D HYPHEN-MINUS (-)</dt>
- <dd>Emit a U+002D HYPHEN-MINUS character token. Switch to the
- <span>script data double escaped dash state</span>.</dd>
+ <dd>Switch to the <span>script data double escaped dash
+ state</span>. Emit a U+002D HYPHEN-MINUS character token.</dd>
<dt>U+003C LESS-THAN SIGN (<)</dt>
- <dd><p>Emit a U+003C LESS-THAN SIGN character token. Switch to the
- <span>script data double escaped less-than sign
- state</span>.</p></dd>
+ <dd><p>Switch to the <span>script data double escaped less-than
+ sign state</span>. Emit a U+003C LESS-THAN SIGN character
+ token.</p></dd>
<dt>EOF</dt>
<dd><span>Parse error</span>. Reconsume the EOF character in the
@@ -90475,8 +90461,7 @@
<dt>Anything else</dt>
<dd>Emit the <span>current input character</span> as a character
- token. Stay in the <span>script data double escaped
- state</span>.</dd>
+ token.</dd>
</dl>
@@ -90488,22 +90473,22 @@
<dl class="switch">
<dt>U+002D HYPHEN-MINUS (-)</dt>
- <dd>Emit a U+002D HYPHEN-MINUS character token. Switch to the
- <span>script data double escaped dash dash state</span>.</dd>
+ <dd>Switch to the <span>script data double escaped dash dash
+ state</span>. Emit a U+002D HYPHEN-MINUS character token.</dd>
<dt>U+003C LESS-THAN SIGN (<)</dt>
- <dd><p>Emit a U+003C LESS-THAN SIGN character token. Switch to the
- <span>script data double escaped less-than sign
- state</span>.</p></dd>
+ <dd><p>Switch to the <span>script data double escaped less-than
+ sign state</span>. Emit a U+003C LESS-THAN SIGN character
+ token.</p></dd>
<dt>EOF</dt>
<dd><span>Parse error</span>. Reconsume the EOF character in the
<span>data state</span>.</dd>
<dt>Anything else</dt>
- <dd>Emit the <span>current input character</span> as a character
- token. Switch to the <span>script data double escaped
- state</span>.</dd>
+ <dd>Switch to the <span>script data double escaped
+ state</span>. Emit the <span>current input character</span> as a
+ character token.</dd>
</dl>
@@ -90515,26 +90500,25 @@
<dl class="switch">
<dt>U+002D HYPHEN-MINUS (-)</dt>
- <dd>Emit a U+002D HYPHEN-MINUS character token. Stay in the
- <span>script data double escaped dash dash state</span>.</dd>
+ <dd>Emit a U+002D HYPHEN-MINUS character token.</dd>
<dt>U+003C LESS-THAN SIGN (<)</dt>
- <dd><p>Emit a U+003C LESS-THAN SIGN character token. Switch to the
- <span>script data double escaped less-than sign
- state</span>.</p></dd>
+ <dd><p>Switch to the <span>script data double escaped less-than
+ sign state</span>. Emit a U+003C LESS-THAN SIGN character
+ token.</p></dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit a U+003E GREATER-THAN SIGN character token. Switch to the
- <span>script data state</span>.</dd>
+ <dd>Switch to the <span>script data state</span>. Emit a U+003E
+ GREATER-THAN SIGN character token.</dd>
<dt>EOF</dt>
<dd><span>Parse error</span>. Reconsume the EOF character in the
<span>data state</span>.</dd>
<dt>Anything else</dt>
- <dd>Emit the <span>current input character</span> as a character
- token. Switch to the <span>script data double escaped
- state</span>.</dd>
+ <dd>Switch to the <span>script data double escaped
+ state</span>. Emit the <span>current input character</span> as a
+ character token.</dd>
</dl>
@@ -90546,9 +90530,9 @@
<dl class="switch">
<dt>U+002F SOLIDUS (/)</dt>
- <dd>Emit a U+002F SOLIDUS character token. Set the <var>temporary
- buffer</var> to the empty string. Switch to the <span>script data
- double escape end state</span>.</dd>
+ <dd>Set the <var>temporary buffer</var> to the empty string. Switch
+ to the <span>script data double escape end state</span>. Emit a
+ U+002F SOLIDUS character token.</dd>
<dt>Anything else</dt>
<dd>Reconsume the <span>current input character</span> in the
@@ -90570,24 +90554,22 @@
<dt>U+0020 SPACE</dt>
<dt>U+002F SOLIDUS (/)</dt>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the <span>current input character</span> as a character
- token. If the <var>temporary buffer</var> is the string "<code
+ <dd>If the <var>temporary buffer</var> is the string "<code
title="">script</code>", then switch to the <span>script data
escaped state</span>. Otherwise, switch to the <span>script data
- double escaped state</span>.</dd>
+ double escaped state</span>. Emit the <span>current input
+ character</span> as a character token.</dd>
<dt>U+0041 LATIN CAPITAL LETTER A through to U+005A LATIN CAPITAL LETTER Z</dt>
- <dd>Emit the <span>current input character</span> as a character
- token. Append the lowercase version of the <span>current input
+ <dd>Append the lowercase version of the <span>current input
character</span> (add 0x0020 to the character's code point) to the
- <var>temporary buffer</var>. Stay in the <span>script data double
- escape end state</span>.</dd>
+ <var>temporary buffer</var>. Emit the <span>current input
+ character</span> as a character token.</dd>
<dt>U+0061 LATIN SMALL LETTER A through to U+007A LATIN SMALL LETTER Z</dt>
- <dd>Emit the <span>current input character</span> as a character
- token. Append the <span>current input character</span> to the
- <var>temporary buffer</var>. Stay in the <span>script data double
- escape end state</span>.</dd>
+ <dd>Append the <span>current input character</span> to the
+ <var>temporary buffer</var>. Emit the <span>current input
+ character</span> as a character token.</dd>
<dt>Anything else</dt>
<dd>Reconsume the <span>current input character</span> in the
@@ -90607,14 +90589,14 @@
<dt>U+000C FORM FEED (FF)</dt>
<!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
<dt>U+0020 SPACE</dt>
- <dd>Stay in the <span>before attribute name state</span>.</dd>
+ <dd>Ignore the character.</dd>
<dt>U+002F SOLIDUS (/)</dt>
<dd>Switch to the <span>self-closing start tag state</span>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current tag token. Switch to the <span>data
- state</span>.</dd>
+ <dd>Switch to the <span>data state</span>. Emit the current tag
+ token.</dd>
<dt>U+0041 LATIN CAPITAL LETTER A through to U+005A LATIN CAPITAL LETTER Z</dt>
<dd>Start a new attribute in the current tag token. Set that
@@ -90663,14 +90645,13 @@
<dd>Switch to the <span>before attribute value state</span>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current tag token. Switch to the <span>data
- state</span>.</dd>
+ <dd>Switch to the <span>data state</span>. Emit the current tag
+ token.</dd>
<dt>U+0041 LATIN CAPITAL LETTER A through to U+005A LATIN CAPITAL LETTER Z</dt>
<dd>Append the lowercase version of the <span>current input
character</span> (add 0x0020 to the character's code point) to the
- current attribute's name. Stay in the <span>attribute name
- state</span>.</dd>
+ current attribute's name.</dd>
<dt>U+0022 QUOTATION MARK (")</dt>
<dt>U+0027 APOSTROPHE (')</dt>
@@ -90684,8 +90665,7 @@
<dt>Anything else</dt>
<dd>Append the <span>current input character</span> to the current
- attribute's name. Stay in the <span>attribute name
- state</span>.</dd>
+ attribute's name.</dd>
</dl>
@@ -90709,7 +90689,7 @@
<dt>U+000C FORM FEED (FF)</dt>
<!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
<dt>U+0020 SPACE</dt>
- <dd>Stay in the <span>after attribute name state</span>.</dd>
+ <dd>Ignore the character.</dd>
<dt>U+002F SOLIDUS (/)</dt>
<dd>Switch to the <span>self-closing start tag state</span>.</dd>
@@ -90718,8 +90698,8 @@
<dd>Switch to the <span>before attribute value state</span>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current tag token. Switch to the <span>data
- state</span>.</dd>
+ <dd>Switch to the <span>data state</span>. Emit the current tag
+ token.</dd>
<dt>U+0041 LATIN CAPITAL LETTER A through to U+005A LATIN CAPITAL LETTER Z</dt>
<dd>Start a new attribute in the current tag token. Set that
@@ -90758,7 +90738,7 @@
<dt>U+000C FORM FEED (FF)</dt>
<!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
<dt>U+0020 SPACE</dt>
- <dd>Stay in the <span>before attribute value state</span>.</dd>
+ <dd>Ignore the character.</dd>
<dt>U+0022 QUOTATION MARK (")</dt>
<dd>Switch to the <span>attribute value (double-quoted) state</span>.</dd>
@@ -90771,8 +90751,8 @@
<dd>Switch to the <span>attribute value (single-quoted) state</span>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd><span>Parse error</span>. Emit the current tag token. Switch to
- the <span>data state</span>.</dd>
+ <dd><span>Parse error</span>. Switch to the <span>data
+ state</span>. Emit the current tag token.</dd>
<dt>U+003C LESS-THAN SIGN (<)</dt>
<dt>U+003D EQUALS SIGN (=)</dt>
@@ -90813,8 +90793,7 @@
<dt>Anything else</dt>
<dd>Append the <span>current input character</span> to the current
- attribute's value. Stay in the <span>attribute value
- (double-quoted) state</span>.</dd>
+ attribute's value.</dd>
</dl>
@@ -90840,8 +90819,7 @@
<dt>Anything else</dt>
<dd>Append the <span>current input character</span> to the current
- attribute's value. Stay in the <span>attribute value
- (single-quoted) state</span>.</dd>
+ attribute's value.</dd>
</dl>
@@ -90865,8 +90843,8 @@
being U+003E GREATER-THAN SIGN (>).</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current tag token. Switch to the <span>data
- state</span>.</dd>
+ <dd>Switch to the <span>data state</span>. Emit the current tag
+ token.</dd>
<dt>U+0022 QUOTATION MARK (")</dt>
<dt>U+0027 APOSTROPHE (')</dt>
@@ -90882,8 +90860,7 @@
<dt>Anything else</dt>
<dd>Append the <span>current input character</span> to the current
- attribute's value. Stay in the <span>attribute value (unquoted)
- state</span>.</dd>
+ attribute's value.</dd>
</dl>
@@ -90919,8 +90896,8 @@
<dd>Switch to the <span>self-closing start tag state</span>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current tag token. Switch to the <span>data
- state</span>.</dd>
+ <dd>Switch to the <span>data state</span>. Emit the current tag
+ token.</dd>
<dt>EOF</dt>
<dd><span>Parse error</span>. Reconsume the EOF character in the
@@ -90941,8 +90918,8 @@
<dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd>Set the <i>self-closing flag</i> of the current tag
- token. Emit the current tag token. Switch to the <span>data
- state</span>.</dd>
+ token. Switch to the <span>data state</span>. Emit the current tag
+ token.</dd>
<dt>EOF</dt>
<dd><span>Parse error</span>. Reconsume the EOF character in the
@@ -91009,9 +90986,9 @@
<dd>Switch to the <span>comment start dash state</span>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd><span>Parse error</span>. Emit the comment token. Switch to the
- <span>data state</span>.</dd> <!-- see comment in comment end state
- -->
+ <dd><span>Parse error</span>. Switch to the <span>data
+ state</span>. Emit the comment token.</dd> <!-- see comment in
+ comment end state -->
<dt>EOF</dt>
<dd><span>Parse error</span>. Emit the comment token. Reconsume
@@ -91034,8 +91011,8 @@
<dd>Switch to the <span>comment end state</span></dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd><span>Parse error</span>. Emit the comment token. Switch to
- the <span>data state</span>.</dd>
+ <dd><span>Parse error</span>. Switch to the <span>data
+ state</span>. Emit the comment token.</dd>
<dt>EOF</dt>
<dd><span>Parse error</span>. Emit the comment token. Reconsume the
@@ -91066,7 +91043,7 @@
<dt>Anything else</dt>
<dd>Append the <span>current input character</span> to the comment
- token's data. Stay in the <span>comment state</span>.</dd>
+ token's data.</dd>
</dl>
@@ -91100,8 +91077,8 @@
<dl class="switch">
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the comment token. Switch to the <span>data
- state</span>.</dd>
+ <dd>Switch to the <span>data state</span>. Emit the comment
+ token.</dd>
<dt>U+0009 CHARACTER TABULATION</dt>
<dt>U+000A LINE FEED (LF)</dt>
@@ -91119,8 +91096,7 @@
<dt>U+002D HYPHEN-MINUS (-)</dt>
<dd><span>Parse error</span>. Append a U+002D HYPHEN-MINUS
- character (-) to the comment token's data. Stay in the
- <span>comment end state</span>.</dd>
+ character (-) to the comment token's data.</dd>
<dt>EOF</dt>
<dd><span>Parse error</span>. Emit the comment token. Reconsume
@@ -91151,8 +91127,8 @@
to the <span>comment end dash state</span>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the comment token. Switch to the <span>data
- state</span>.</dd>
+ <dd>Switch to the <span>data state</span>. Emit the comment
+ token.</dd>
<dt>EOF</dt>
<dd><span>Parse error</span>. Emit the comment token. Reconsume
@@ -91179,15 +91155,14 @@
<dt>U+000C FORM FEED (FF)</dt>
<!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
<dt>U+0020 SPACE</dt>
- <dd>Append the <span>current input character</span> to the comment token's data. Stay in
- the <span>comment end space state</span>.</dd>
+ <dd>Append the <span>current input character</span> to the comment token's data.</dd>
<dt>U+002D HYPHEN-MINUS (-)</dt>
<dd>Switch to the <span>comment end dash state</span>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the comment token. Switch to the <span>data
- state</span>.</dd>
+ <dd>Switch to the <span>data state</span>. Emit the comment
+ token.</dd>
<dt>EOF</dt>
<dd><span>Parse error</span>. Emit the comment token. Reconsume
@@ -91237,7 +91212,7 @@
<dt>U+000C FORM FEED (FF)</dt>
<!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
<dt>U+0020 SPACE</dt>
- <dd>Stay in the <span>before DOCTYPE name state</span>.</dd>
+ <dd>Ignore the character.</dd>
<dt>U+0041 LATIN CAPITAL LETTER A through to U+005A LATIN CAPITAL LETTER Z</dt>
<dd>Create a new DOCTYPE token. Set the token's name to the
@@ -91247,8 +91222,8 @@
<dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd><span>Parse error</span>. Create a new DOCTYPE token. Set its
- <i>force-quirks flag</i> to <i>on</i>. Emit the token. Switch to
- the <span>data state</span>.</dd>
+ <i>force-quirks flag</i> to <i>on</i>. Switch to the <span>data
+ state</span>. Emit the token.</dd>
<dt>EOF</dt>
<dd><span>Parse error</span>. Create a new DOCTYPE token. Set its
@@ -91277,14 +91252,13 @@
<dd>Switch to the <span>after DOCTYPE name state</span>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current DOCTYPE token. Switch to the <span>data
- state</span>.</dd>
+ <dd>Switch to the <span>data state</span>. Emit the current DOCTYPE
+ token.</dd>
<dt>U+0041 LATIN CAPITAL LETTER A through to U+005A LATIN CAPITAL LETTER Z</dt>
<dd>Append the lowercase version of the <span>current input
character</span> (add 0x0020 to the character's code point) to the
- current DOCTYPE token's name. Stay in the <span>DOCTYPE name
- state</span>.</dd>
+ current DOCTYPE token's name.</dd>
<dt>EOF</dt>
<dd><span>Parse error</span>. Set the DOCTYPE token's
@@ -91293,8 +91267,7 @@
<dt>Anything else</dt>
<dd>Append the <span>current input character</span> to the current
- DOCTYPE token's name. Stay in the <span>DOCTYPE name
- state</span>.</dd>
+ DOCTYPE token's name.</dd>
</dl>
@@ -91310,11 +91283,11 @@
<dt>U+000C FORM FEED (FF)</dt>
<!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
<dt>U+0020 SPACE</dt>
- <dd>Stay in the <span>after DOCTYPE name state</span>.</dd>
+ <dd>Ignore the character.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current DOCTYPE token. Switch to the <span>data
- state</span>.</dd>
+ <dd>Switch to the <span>data state</span>. Emit the current DOCTYPE
+ token.</dd>
<dt>EOF</dt>
<dd><span>Parse error</span>. Set the DOCTYPE token's
@@ -91370,8 +91343,8 @@
<dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd><span>Parse error</span>. Set the DOCTYPE token's
- <i>force-quirks flag</i> to <i>on</i>. Emit that DOCTYPE
- token. Switch to the <span>data state</span>.</dd>
+ <i>force-quirks flag</i> to <i>on</i>. Switch to the <span>data
+ state</span>. Emit that DOCTYPE token.</dd>
<dt>EOF</dt>
<dd><span>Parse error</span>. Set the DOCTYPE token's
@@ -91397,7 +91370,7 @@
<dt>U+000C FORM FEED (FF)</dt>
<!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
<dt>U+0020 SPACE</dt>
- <dd>Stay in the <span>before DOCTYPE public identifier state</span>.</dd>
+ <dd>Ignore the character.</dd>
<dt>U+0022 QUOTATION MARK (")</dt>
<dd>Set the DOCTYPE token's public identifier to the empty string
@@ -91411,8 +91384,8 @@
<dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd><span>Parse error</span>. Set the DOCTYPE token's
- <i>force-quirks flag</i> to <i>on</i>. Emit that DOCTYPE
- token. Switch to the <span>data state</span>.</dd>
+ <i>force-quirks flag</i> to <i>on</i>. Switch to the <span>data
+ state</span>. Emit that DOCTYPE token.</dd>
<dt>EOF</dt>
<dd><span>Parse error</span>. Set the DOCTYPE token's
@@ -91438,8 +91411,8 @@
<dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd><span>Parse error</span>. Set the DOCTYPE token's
- <i>force-quirks flag</i> to <i>on</i>. Emit that DOCTYPE
- token. Switch to the <span>data state</span>.</dd>
+ <i>force-quirks flag</i> to <i>on</i>. Switch to the <span>data
+ state</span>. Emit that DOCTYPE token.</dd>
<dt>EOF</dt>
<dd><span>Parse error</span>. Set the DOCTYPE token's
@@ -91448,8 +91421,7 @@
<dt>Anything else</dt>
<dd>Append the <span>current input character</span> to the current DOCTYPE
- token's public identifier. Stay in the <span>DOCTYPE public
- identifier (double-quoted) state</span>.</dd>
+ token's public identifier.</dd>
</dl>
@@ -91465,8 +91437,8 @@
<dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd><span>Parse error</span>. Set the DOCTYPE token's
- <i>force-quirks flag</i> to <i>on</i>. Emit that DOCTYPE
- token. Switch to the <span>data state</span>.</dd>
+ <i>force-quirks flag</i> to <i>on</i>. Switch to the <span>data
+ state</span>. Emit that DOCTYPE token.</dd>
<dt>EOF</dt>
<dd><span>Parse error</span>. Set the DOCTYPE token's
@@ -91475,8 +91447,7 @@
<dt>Anything else</dt>
<dd>Append the <span>current input character</span> to the current DOCTYPE
- token's public identifier. Stay in the <span>DOCTYPE public
- identifier (single-quoted) state</span>.</dd>
+ token's public identifier.</dd>
</dl>
@@ -91496,8 +91467,8 @@
identifiers state</span>.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current DOCTYPE token. Switch to the <span>data
- state</span>.</dd>
+ <dd>Switch to the <span>data state</span>. Emit the current DOCTYPE
+ token.</dd>
<dt>U+0022 QUOTATION MARK (")</dt>
<dd><span>Parse error</span>. Set the DOCTYPE token's system
@@ -91533,12 +91504,11 @@
<dt>U+000C FORM FEED (FF)</dt>
<!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
<dt>U+0020 SPACE</dt>
- <dd>Stay in the <span>between DOCTYPE public and system identifiers
- state</span>.</dd>
+ <dd>Ignore the character.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current DOCTYPE token. Switch to the <span>data
- state</span>.</dd>
+ <dd>Switch to the <span>data state</span>. Emit the current DOCTYPE
+ token.</dd>
<dt>U+0022 QUOTATION MARK (")</dt>
<dd>Set the DOCTYPE token's system identifier to the empty string
@@ -91589,8 +91559,8 @@
<dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd><span>Parse error</span>. Set the DOCTYPE token's
- <i>force-quirks flag</i> to <i>on</i>. Emit that DOCTYPE
- token. Switch to the <span>data state</span>.</dd>
+ <i>force-quirks flag</i> to <i>on</i>. Switch to the <span>data
+ state</span>. Emit that DOCTYPE token.</dd>
<dt>EOF</dt>
<dd><span>Parse error</span>. Set the DOCTYPE token's
@@ -91616,7 +91586,7 @@
<dt>U+000C FORM FEED (FF)</dt>
<!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
<dt>U+0020 SPACE</dt>
- <dd>Stay in the <span>before DOCTYPE system identifier state</span>.</dd>
+ <dd>Ignore the character.</dd>
<dt>U+0022 QUOTATION MARK (")</dt>
<dd>Set the DOCTYPE token's system identifier to the empty string
@@ -91630,8 +91600,8 @@
<dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd><span>Parse error</span>. Set the DOCTYPE token's
- <i>force-quirks flag</i> to <i>on</i>. Emit that DOCTYPE
- token. Switch to the <span>data state</span>.</dd>
+ <i>force-quirks flag</i> to <i>on</i>. Switch to the <span>data
+ state</span>. Emit that DOCTYPE token.</dd>
<dt>EOF</dt>
<dd><span>Parse error</span>. Set the DOCTYPE token's
@@ -91658,8 +91628,8 @@
<dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd><span>Parse error</span>. Set the DOCTYPE token's
- <i>force-quirks flag</i> to <i>on</i>. Emit that DOCTYPE
- token. Switch to the <span>data state</span>.</dd>
+ <i>force-quirks flag</i> to <i>on</i>. Switch to the <span>data
+ state</span>. Emit that DOCTYPE token.</dd>
<dt>EOF</dt>
<dd><span>Parse error</span>. Set the DOCTYPE token's
@@ -91668,8 +91638,7 @@
<dt>Anything else</dt>
<dd>Append the <span>current input character</span> to the current
- DOCTYPE token's system identifier. Stay in the <span>DOCTYPE system
- identifier (double-quoted) state</span>.</dd>
+ DOCTYPE token's system identifier.</dd>
</dl>
@@ -91686,8 +91655,8 @@
<dt>U+003E GREATER-THAN SIGN (>)</dt>
<dd><span>Parse error</span>. Set the DOCTYPE token's
- <i>force-quirks flag</i> to <i>on</i>. Emit that DOCTYPE
- token. Switch to the <span>data state</span>.</dd>
+ <i>force-quirks flag</i> to <i>on</i>. Switch to the <span>data
+ state</span>. Emit that DOCTYPE token.</dd>
<dt>EOF</dt>
<dd><span>Parse error</span>. Set the DOCTYPE token's
@@ -91696,8 +91665,7 @@
<dt>Anything else</dt>
<dd>Append the <span>current input character</span> to the current
- DOCTYPE token's system identifier. Stay in the <span>DOCTYPE system
- identifier (single-quoted) state</span>.</dd>
+ DOCTYPE token's system identifier.</dd>
</dl>
@@ -91713,12 +91681,11 @@
<dt>U+000C FORM FEED (FF)</dt>
<!--<dt>U+000D CARRIAGE RETURN (CR)</dt>-->
<dt>U+0020 SPACE</dt>
- <dd>Stay in the <span>after DOCTYPE system identifier
- state</span>.</dd>
+ <dd>Ignore the character.</dd>
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the current DOCTYPE token. Switch to the <span>data
- state</span>.</dd>
+ <dd>Switch to the <span>data state</span>. Emit the current DOCTYPE
+ token.</dd>
<dt>EOF</dt>
<dd><span>Parse error</span>. Set the DOCTYPE token's
@@ -91740,15 +91707,15 @@
<dl class="switch">
<dt>U+003E GREATER-THAN SIGN (>)</dt>
- <dd>Emit the DOCTYPE token. Switch to the <span>data
- state</span>.</dd>
+ <dd>Switch to the <span>data state</span>. Emit the DOCTYPE
+ token.</dd>
<dt>EOF</dt>
<dd>Emit the DOCTYPE token. Reconsume the EOF character in the
<span>data state</span>.</dd>
<dt>Anything else</dt>
- <dd>Stay in the <span>bogus DOCTYPE state</span>.</dd>
+ <dd>Ignore the character.</dd>
</dl>
@@ -95236,9 +95203,9 @@
<p>If the <span>stack of open elements</span> does not <span
title="has an element in table scope">have an element in table
- scope</span> with the same tag name as that of the token
- (which can only happen for "tbody", "tfoot" and "thead", or,
- in the <span>fragment case</span>), then this is a <span>parse
+ scope</span> with the same tag name as that of the token (which
+ can only happen for "tbody", "tfoot" and "thead", or in the
+ <span>fragment case</span>), then this is a <span>parse
error</span> and the token must be ignored.</p>
<p>Otherwise, <span>close the cell</span> (see below) and
More information about the Commit-Watchers
mailing list