|
554 | 554 | Consume the <i>next input character</i>. |
555 | 555 |
|
556 | 556 | <dl> |
557 | | - <dt><i>name character</dt> |
| 557 | + <dt><i>name character</i> |
558 | 558 | <dd> |
559 | 559 | Append the <i>current input character</i> |
560 | 560 | to the hash token's value. |
@@ -621,10 +621,7 @@ <h4> |
621 | 621 | <dl> |
622 | 622 | <dt>U+002D HYPHEN-MINUS (-) |
623 | 623 | <dd> |
624 | | - If the <i>next input character</i> is |
625 | | - a <i>letter</i>, |
626 | | - a <i>non-ASCII character</i>, |
627 | | - or U+005F LOW LINE (_), |
| 624 | + If the <i>next input character</i> is a <i>name-start character</i>, |
628 | 625 | consume it. |
629 | 626 | Create an at-keyword token |
630 | 627 | with its value set to U+002D HYPHEN-MINUS |
|
638 | 635 | Switch to the <i>data state</i>. |
639 | 636 | Reconsume the <i>current input character</i>. |
640 | 637 |
|
641 | | - <dt><i>letter</i> |
642 | | - <dt><i>non-ASCII character</i> |
643 | | - <dt>U+005F LOW LINE (_) |
| 638 | + <dt><i>name-start character</i> |
644 | 639 | <dd> |
645 | 640 | Create an at-keyword token |
646 | 641 | with its value set to the <i>current input character</i>. |
@@ -677,10 +672,7 @@ <h4> |
677 | 672 | Consume the <i>next input character</i>. |
678 | 673 |
|
679 | 674 | <dl> |
680 | | - <dt><i>letter</i> |
681 | | - <dt><i>non-ASCII character</i> |
682 | | - <dt>U+005F LOW LINE (_) |
683 | | - <dt>U+002D HYPHEN-MINUS (-) |
| 675 | + <dt><i>name character</i> |
684 | 676 | <dd> |
685 | 677 | Append the <i>current input character</i> |
686 | 678 | to the at-keyword token's value. |
@@ -1215,7 +1207,7 @@ <h4> |
1215 | 1207 | <dd> |
1216 | 1208 | If the <i>next input character</i> is |
1217 | 1209 | EOF, |
1218 | | - this is a <i>parse error. |
| 1210 | + this is a <i>parse error</i>. |
1219 | 1211 | Emit a bad-url token. |
1220 | 1212 | Switch to the <i>data state</i>. |
1221 | 1213 | Reconsume the <i>current input character</i>. |
|
0 commit comments