diff --git a/source b/source index 0b85ae04a04..7408cde5fec 100644 --- a/source +++ b/source @@ -4292,11 +4292,14 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

The lowercase ASCII letters are the characters in the range U+0061 LATIN SMALL LETTER A to U+007A LATIN SMALL LETTER Z.

+

The ASCII letters are the characters that are either uppercase ASCII + letters or lowercase ASCII letters.

+

The ASCII digits are the characters in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9).

-

The alphanumeric ASCII characters are those that are either uppercase ASCII - letters, lowercase ASCII letters, or ASCII digits.

+

The alphanumeric ASCII characters are those that are either ASCII + letters or ASCII digits.

The ASCII hex digits are the characters in the ranges U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9), U+0041 LATIN CAPITAL LETTER A to U+0046 LATIN CAPITAL LETTER F, and U+0061 @@ -99368,16 +99371,9 @@ dictionary StorageEventInit : EventInit {

U+002F SOLIDUS (/)
Switch to the end tag open state.
-
Uppercase ASCII letter
-
Create a new start tag token, set its tag name to the lowercase version of the current - input character (add 0x0020 to the character's code point), then switch to the tag - name state. (Don't emit the token yet; further details will be filled in before it is - emitted.)
- -
Lowercase ASCII letter
-
Create a new start tag token, set its tag name to the current input character, - then switch to the tag name state. (Don't emit the token yet; further details will - be filled in before it is emitted.)
+
ASCII letter
+
Create a new start tag token, set its tag name to the empty string. Switch to the tag + name state. Reconsume the current input character.
U+003F QUESTION MARK (?)
Parse error. Create a comment token whose data is the empty string. Switch to @@ -99395,16 +99391,9 @@ dictionary StorageEventInit : EventInit {
-
Uppercase ASCII letter
-
Create a new end tag token, set its tag name to the lowercase version of the current - input character (add 0x0020 to the character's code point), then switch to the tag - name state. (Don't emit the token yet; further details will be filled in before it is - emitted.)
- -
Lowercase ASCII letter
-
Create a new end tag token, set its tag name to the current input character, - then switch to the tag name state. (Don't emit the token yet; further details will - be filled in before it is emitted.)
+
ASCII letter
+
Create a new end tag token, set its tag name to the empty string. Switch to the tag + name state. Reconsume the current input character.
U+003E GREATER-THAN SIGN (>)
Parse error. Switch to the data state.
@@ -99482,18 +99471,9 @@ dictionary StorageEventInit : EventInit {
-
Uppercase ASCII letter
-
Create a new end tag token, and set its tag name to the lowercase version of the - current input character (add 0x0020 to the character's code point). Append the - current input character to the temporary - buffer. Finally, switch to the RCDATA end tag name state. (Don't emit the - token yet; further details will be filled in before it is emitted.)
- -
Lowercase ASCII letter
-
Create a new end tag token, and set its tag name to the current input character. - Append the current input character to the temporary - buffer. Finally, switch to the RCDATA end tag name state. (Don't emit the - token yet; further details will be filled in before it is emitted.)
+
ASCII letter
+
Create a new end tag token, set its tag name to the empty string. Switch to the RCDATA + end tag name state. Reconsume the current input character.
Anything else
Switch to the RCDATA state. Emit a U+003C LESS-THAN SIGN character token and a @@ -99572,18 +99552,9 @@ dictionary StorageEventInit : EventInit {
-
Uppercase ASCII letter
-
Create a new end tag token, and set its tag name to the lowercase version of the - current input character (add 0x0020 to the character's code point). Append the - current input character to the temporary - buffer. Finally, switch to the RAWTEXT end tag name state. (Don't emit the - token yet; further details will be filled in before it is emitted.)
- -
Lowercase ASCII letter
-
Create a new end tag token, and set its tag name to the current input character. - Append the current input character to the temporary - buffer. Finally, switch to the RAWTEXT end tag name state. (Don't emit the - token yet; further details will be filled in before it is emitted.)
+
ASCII letter
+
Create a new end tag token, set its tag name to the empty string. Switch to the + RAWTEXT end tag name state. Reconsume the current input character.
Anything else
Switch to the RAWTEXT state. Emit a U+003C LESS-THAN SIGN character token and a @@ -99665,18 +99636,9 @@ dictionary StorageEventInit : EventInit {
-
Uppercase ASCII letter
-
Create a new end tag token, and set its tag name to the lowercase version of the - current input character (add 0x0020 to the character's code point). Append the - current input character to the temporary - buffer. Finally, switch to the script data end tag name state. (Don't emit the - token yet; further details will be filled in before it is emitted.)
- -
Lowercase ASCII letter
-
Create a new end tag token, and set its tag name to the current input character. - Append the current input character to the temporary - buffer. Finally, switch to the script data end tag name state. (Don't emit the - token yet; further details will be filled in before it is emitted.)
+
ASCII letter
+
Create a new end tag token, set its tag name to the empty string. Switch to the script + data end tag name state. Reconsume the current input character.
Anything else
Switch to the script data state. Emit a U+003C LESS-THAN SIGN character token @@ -99859,19 +99821,10 @@ dictionary StorageEventInit : EventInit {
Set the temporary buffer to the empty string. Switch to the script data escaped end tag open state.
-
Uppercase ASCII letter
-
Set the temporary buffer to the empty string. Append the - lowercase version of the current input character (add 0x0020 to the character's code - point) to the temporary buffer. Switch to the script - data double escape start state. Emit a U+003C LESS-THAN SIGN character token and the - current input character as a character token.
- -
Lowercase ASCII letter
-
Set the temporary buffer to the empty string. Append the - current input character to the temporary - buffer. Switch to the script data double escape start state. Emit a U+003C - LESS-THAN SIGN character token and the current input character as a character - token.
+
ASCII letter
+
Set the temporary buffer to the empty string. Switch to + the script data double escape start state. Reconsume the current input + character. Emit a U+003C LESS-THAN SIGN character token.
Anything else
Switch to the script data escaped state. Emit a U+003C LESS-THAN SIGN character @@ -99886,18 +99839,10 @@ dictionary StorageEventInit : EventInit {
-
Uppercase ASCII letter
-
Create a new end tag token, and set its tag name to the lowercase version of the - current input character (add 0x0020 to the character's code point). Append the - current input character to the temporary - buffer. Finally, switch to the script data escaped end tag name state. (Don't - emit the token yet; further details will be filled in before it is emitted.)
- -
Lowercase ASCII letter
-
Create a new end tag token, and set its tag name to the current input character. - Append the current input character to the temporary - buffer. Finally, switch to the script data escaped end tag name state. (Don't - emit the token yet; further details will be filled in before it is emitted.)
+
ASCII letter
+
Create a new end tag token. Switch to the script data escaped end tag name + state. Reconsume the current input character. (Don't emit the token yet; + further details will be filled in before it is emitted.)
Anything else
Switch to the script data escaped state. Emit a U+003C LESS-THAN SIGN character @@ -100140,35 +100085,20 @@ dictionary StorageEventInit : EventInit {
Ignore the character.
U+002F SOLIDUS (/)
-
Switch to the self-closing start tag state.
-
U+003E GREATER-THAN SIGN (>)
-
Switch to the data state. Emit the current tag token.
- -
Uppercase ASCII letter
-
Start a new attribute in the current tag token. Set that attribute's name to the lowercase - version of the current input character (add 0x0020 to the character's code point), - and its value to the empty string. Switch to the attribute name state.
+
EOF
+
Switch to the after attribute name state. Reconsume the current input + character.
-
U+0000 NULL
+
U+003D EQUALS SIGN (=)
Parse error. Start a new attribute in the current tag token. Set that - attribute's name to a U+FFFD REPLACEMENT CHARACTER character, and its value to the empty string. + attribute's name to the current input character, and its value to the empty string. Switch to the attribute name state.
-
U+0022 QUOTATION MARK (")
-
U+0027 APOSTROPHE (')
-
U+003C LESS-THAN SIGN (<)
-
U+003D EQUALS SIGN (=)
-
Parse error. Treat it as per the "anything else" entry below.
- -
EOF
-
Parse error. Switch to the data state. Reconsume the EOF - character.
-
Anything else
-
Start a new attribute in the current tag token. Set that attribute's name to the - current input character, and its value to the empty string. Switch to the - attribute name state.
+
Start a new attribute in the current tag token. Set that attribute name and value to the + empty string. Switch to the attribute name state. Reconsume the current input + character.
@@ -100184,17 +100114,15 @@ dictionary StorageEventInit : EventInit {
U+000C FORM FEED (FF)
U+0020 SPACE
-
Switch to the after attribute name state.
-
U+002F SOLIDUS (/)
-
Switch to the self-closing start tag state.
+
U+003E GREATER-THAN SIGN (>)
+
EOF
+
Switch to the after attribute name state. Reconsume the current input + character.
U+003D EQUALS SIGN (=)
Switch to the before attribute value state.
-
U+003E GREATER-THAN SIGN (>)
-
Switch to the data state. Emit the current tag token.
-
Uppercase ASCII letter
Append the lowercase version of the current input character (add 0x0020 to the character's code point) to the current attribute's name.
@@ -100208,10 +100136,6 @@ dictionary StorageEventInit : EventInit {
U+003C LESS-THAN SIGN (<)
Parse error. Treat it as per the "anything else" entry below.
-
EOF
-
Parse error. Switch to the data state. Reconsume the EOF - character.
-
Anything else
Append the current input character to the current attribute's name.
@@ -100250,29 +100174,14 @@ dictionary StorageEventInit : EventInit {
U+003E GREATER-THAN SIGN (>)
Switch to the data state. Emit the current tag token.
-
Uppercase ASCII letter
-
Start a new attribute in the current tag token. Set that attribute's name to the lowercase - version of the current input character (add 0x0020 to the character's code point), - and its value to the empty string. Switch to the attribute name state.
- -
U+0000 NULL
-
Parse error. Start a new attribute in the current tag token. Set that - attribute's name to a U+FFFD REPLACEMENT CHARACTER character, and its value to the empty string. - Switch to the attribute name state.
- -
U+0022 QUOTATION MARK (")
-
U+0027 APOSTROPHE (')
-
U+003C LESS-THAN SIGN (<)
-
Parse error. Treat it as per the "anything else" entry below.
-
EOF
Parse error. Switch to the data state. Reconsume the EOF character.
Anything else
-
Start a new attribute in the current tag token. Set that attribute's name to the - current input character, and its value to the empty string. Switch to the - attribute name state.
+
Start a new attribute in the current tag token. Set that attribute name and value to the + empty string. Switch to the attribute name state. Reconsume the current input + character.
@@ -100293,33 +100202,15 @@ dictionary StorageEventInit : EventInit {
U+0022 QUOTATION MARK (")
Switch to the attribute value (double-quoted) state.
-
U+0026 AMPERSAND (&)
-
Switch to the attribute value (unquoted) state. Reconsume the current - input character.
-
U+0027 APOSTROPHE (')
Switch to the attribute value (single-quoted) state.
-
U+0000 NULL
-
Parse error. Append a U+FFFD REPLACEMENT CHARACTER character to the current - attribute's value. Switch to the attribute value (unquoted) state.
-
U+003E GREATER-THAN SIGN (>)
-
Parse error. Switch to the data state. Emit the current tag - token.
- -
U+003C LESS-THAN SIGN (<)
-
U+003D EQUALS SIGN (=)
-
U+0060 GRAVE ACCENT (`)
Parse error. Treat it as per the "anything else" entry below.
-
EOF
-
Parse error. Switch to the data state. Reconsume the EOF - character.
-
Anything else
-
Append the current input character to the current attribute's value. Switch to - the attribute value (unquoted) state.
+
Switch to the attribute value (unquoted) state. Reconsume the current + input character.