File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2280,15 +2280,15 @@ <h4 id=dimension-state><span class=secno>4.4.12. </span> <dfn
22802280
22812281 < dt > U+005C REVERSE SOLIDUS (\)
22822282
2283- < dd > If the < a href =" #next- input-character " > < i > next input
2284- character </ i > </ a > is a < a href ="#newline "> < i > newline </ i > </ a > or EOF, emit
2285- the dimension token. Switch to the < a href ="#data-state0 "> < i > data
2286- state </ i > </ a > . < a
2287- href =" #reconsume-the-current-input-character " > < i > Reconsume the current
2288- input character </ i > </ a > .
2289- < p > Otherwise, < a href ="#consume-an-escaped-character0 "> < i > consume an
2290- escaped character</ i > </ a > . Append the returned character to the
2291- dimension token's unit .
2283+ < dd > If the input stream < a
2284+ href ="#check-if-two-characters-are-a-valid-esca0 "> < i > starts with a valid
2285+ escape </ i > </ a > , < a href ="#consume-an-escaped-character0 "> < i > consume an
2286+ escaped character </ i > </ a > . Append the returned character to the dimension
2287+ token's unit.
2288+ < p > Otherwise, emit the dimension token. Switch to the < a
2289+ href ="#data-state0 "> < i > data state </ i > </ a > . < a
2290+ href =" #reconsume-the-current-input- character" > < i > Reconsume the current
2291+ input character </ i > </ a > .
22922292
22932293 < dt > anything else
22942294
Original file line number Diff line number Diff line change @@ -1557,17 +1557,16 @@ <h4>
15571557
15581558 < dt > U+005C REVERSE SOLIDUS (\)
15591559 < dd >
1560- If the < i > next input character</ i > is
1561- a < i > newline</ i > or EOF,
1562- emit the dimension token.
1563- Switch to the < i > data state</ i > .
1564- < i > Reconsume the current input character</ i > .
1560+ If the input stream < i > starts with a valid escape</ i > ,
1561+ < i > consume an escaped character</ i > .
1562+ Append the returned character
1563+ to the dimension token's unit.
15651564
15661565 < p >
15671566 Otherwise,
1568- < i > consume an escaped character </ i > .
1569- Append the returned character
1570- to the dimension token's unit .
1567+ emit the dimension token .
1568+ Switch to the < i > data state </ i > .
1569+ < i > Reconsume the current input character </ i > .
15711570
15721571 < dt > anything else
15731572 < dd >
You can’t perform that action at this time.
0 commit comments