Short URL: http://html5.org/r/2132
| SVN | Bug | Comment | Time (UTC) |
|---|---|---|---|
| 2132 | Reorder the SOLIDUS entries in the tokeniser for consistency. | 2008-09-02 03:38 |
Index: source
===================================================================
--- source (revision 2131)
+++ source (revision 2132)
@@ -45061,6 +45061,9 @@
<dt>U+0020 SPACE</dt>
<dd>Switch to the <span>before attribute name state</span>.</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>
@@ -45075,9 +45078,6 @@
token. Reconsume the EOF character in the <span>data
state</span>.</dd>
- <dt>U+002F SOLIDUS (/)</dt>
- <dd>Switch to the <span>self-closing start tag state</span>.</dd>
-
<dt>Anything else</dt>
<dd>Append the current input character to the current tag token's
tag name. Stay in the <span>tag name state</span>.</dd>
@@ -45098,6 +45098,9 @@
<dt>U+0020 SPACE</dt>
<dd>Stay in the <span>before attribute name state</span>.</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>
@@ -45109,9 +45112,6 @@
value to the empty string. Switch to the <span>attribute name
state</span>.</dd>
- <dt>U+002F SOLIDUS (/)</dt>
- <dd>Switch to the <span>self-closing start tag state</span>.</dd>
-
<dt>U+0022 QUOTATION MARK (")</dt>
<dt>U+0027 APOSTROPHE (')</dt>
<dt>U+003D EQUALS SIGN (=)</dt>
@@ -45145,6 +45145,9 @@
<dt>U+0020 SPACE</dt>
<dd>Switch to the <span>after attribute name state</span>.</dd>
+ <dt>U+002F SOLIDUS (/)</dt>
+ <dd>Switch to the <span>self-closing start tag state</span>.</dd>
+
<dt>U+003D EQUALS SIGN (=)</dt>
<dd>Switch to the <span>before attribute value state</span>.</dd>
@@ -45158,9 +45161,6 @@
attribute's name. Stay in the <span>attribute name
state</span>.</dd>
- <dt>U+002F SOLIDUS (/)</dt>
- <dd>Switch to the <span>self-closing start tag state</span>.</dd>
-
<dt>U+0022 QUOTATION MARK (")</dt>
<dt>U+0027 APOSTROPHE (')</dt>
<dd><span>Parse error</span>. Treat it as per the "anything else"
@@ -45199,6 +45199,9 @@
<dt>U+0020 SPACE</dt>
<dd>Stay in the <span>after attribute name state</span>.</dd>
+ <dt>U+002F SOLIDUS (/)</dt>
+ <dd>Switch to the <span>self-closing start tag state</span>.</dd>
+
<dt>U+003D EQUALS SIGN (=)</dt>
<dd>Switch to the <span>before attribute value state</span>.</dd>
@@ -45213,9 +45216,6 @@
the empty string. Switch to the <span>attribute name
state</span>.</dd>
- <dt>U+002F SOLIDUS (/)</dt>
- <dd>Switch to the <span>self-closing start tag state</span>.</dd>
-
<dt>U+0022 QUOTATION MARK (")</dt>
<dt>U+0027 APOSTROPHE (')</dt>
<dd><span>Parse error</span>. Treat it as per the "anything else"
@@ -45403,13 +45403,13 @@
<dt>U+0020 SPACE</dt>
<dd>Switch to the <span>before attribute name state</span>.</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>
- <dt>U+002F SOLIDUS (/)</dt>
- <dd>Switch to the <span>self-closing start tag state</span>.</dd>
-
<dt>EOF</dt>
<dd><span>Parse error</span>. Emit the current tag
token. Reconsume the EOF character in the <span>data