Skip to content

Commit 6fbc4ee

Browse files
committed
More markup fixes.
--HG-- extra : rebase_source : 17b935e49cb79e5f7d0514400920e1d17fa5d662
1 parent 2dee6a4 commit 6fbc4ee

1 file changed

Lines changed: 5 additions & 13 deletions

File tree

css3-syntax/parsing.html

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ <h4>
554554
Consume the <i>next input character</i>.
555555

556556
<dl>
557-
<dt><i>name character</dt>
557+
<dt><i>name character</i>
558558
<dd>
559559
Append the <i>current input character</i>
560560
to the hash token's value.
@@ -621,10 +621,7 @@ <h4>
621621
<dl>
622622
<dt>U+002D HYPHEN-MINUS (-)
623623
<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>,
628625
consume it.
629626
Create an at-keyword token
630627
with its value set to U+002D HYPHEN-MINUS
@@ -638,9 +635,7 @@ <h4>
638635
Switch to the <i>data state</i>.
639636
Reconsume the <i>current input character</i>.
640637

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>
644639
<dd>
645640
Create an at-keyword token
646641
with its value set to the <i>current input character</i>.
@@ -677,10 +672,7 @@ <h4>
677672
Consume the <i>next input character</i>.
678673

679674
<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>
684676
<dd>
685677
Append the <i>current input character</i>
686678
to the at-keyword token's value.
@@ -1215,7 +1207,7 @@ <h4>
12151207
<dd>
12161208
If the <i>next input character</i> is
12171209
EOF,
1218-
this is a <i>parse error.
1210+
this is a <i>parse error</i>.
12191211
Emit a bad-url token.
12201212
Switch to the <i>data state</i>.
12211213
Reconsume the <i>current input character</i>.

0 commit comments

Comments
 (0)