@@ -1120,23 +1120,6 @@ Consume a token</h4>
11201120 <a>consume a numeric token</a> ,
11211121 and return it.
11221122
1123- <dt> U+0055 LATIN CAPITAL LETTER U (U)
1124- <dt> U+0075 LATIN SMALL LETTER U (u)
1125- <dd>
1126- If the <a title="next input code point">next 2 input code points</a> are
1127- U+002B PLUS SIGN (+)
1128- followed by a <a>hex digit</a>
1129- or U+003F QUESTION MARK (?),
1130- consume the <a>next input code point</a> .
1131- <span class='note'> Note: don't consume both of them.</span>
1132- <a>Consume a unicode-range token</a>
1133- and return it.
1134-
1135- Otherwise,
1136- <a>reconsume the current input code point</a> ,
1137- <a>consume an ident-like token</a> ,
1138- and return it.
1139-
11401123 <dt> <a>name-start code point</a>
11411124 <dd>
11421125 <a>Reconsume the current input code point</a> ,
@@ -1385,68 +1368,6 @@ Consume a url token</h4>
13851368 </ol>
13861369
13871370
1388- <h4 id="consume-unicode-range-token">
1389- Consume a unicode-range token</h4>
1390-
1391- This section describes how to <dfn>consume a unicode-range token</dfn> .
1392- It returns a <<unicode-range-token>> .
1393-
1394- Note: This algorithm assumes that the initial "u+" has been consumed,
1395- and the next <a>code point</a> verified to be a <a>hex digit</a> or a "?".
1396-
1397- Execute the following steps in order:
1398-
1399- <ol>
1400- <li>
1401- Consume as many <a>hex digits</a> as possible, but no more than 6.
1402- If less than 6 <a>hex digits</a> were consumed,
1403- consume as many U+003F QUESTION MARK (?) <a>code points</a> as possible,
1404- but no more than enough to make the total of <a>hex digits</a> and U+003F QUESTION MARK (?) <a>code points</a> equal to 6.
1405-
1406- If any U+003F QUESTION MARK (?) <a>code points</a> were consumed,
1407- then:
1408-
1409- <ol>
1410- <li>
1411- Interpret the consumed <a>code points</a> as a hexadecimal number,
1412- with the U+003F QUESTION MARK (?) <a>code points</a> replaced by U+0030 DIGIT ZERO (0) <a>code points</a> .
1413- This is the <a>start of the range</a> .
1414-
1415- <li>
1416- Interpret the consumed <a>code points</a> as a hexadecimal number again,
1417- with the U+003F QUESTION MARK (?) <a>code point</a> replaced by U+0046 LATIN CAPITAL LETTER F (F) <a>code points</a> .
1418- This is the <a>end of the range</a> .
1419-
1420- <li>
1421- Return a new <<unicode-range-token>> with the above start and end.
1422- </ol>
1423-
1424- Otherwise,
1425- interpret the digits as a hexadecimal number.
1426- This is the <a>start of the range</a> .
1427-
1428- <li>
1429- If the <a title="next input code point">next 2 input code point</a> are
1430- U+002D HYPHEN-MINUS (-) followed by a <a>hex digit</a> ,
1431- then:
1432-
1433- <ol>
1434- <li> Consume the <a>next input code point</a> .
1435-
1436- <li>
1437- Consume as many <a>hex digits</a> as possible, but no more than 6.
1438- Interpret the digits as a hexadecimal number.
1439- This is the <a>end of the range</a> .
1440- </ol>
1441-
1442- <li>
1443- Otherwise, the <a>end of the range</a> is the <a>start of the range</a> .
1444-
1445- <li>
1446- Return the <<unicode-range-token>> with the above start and end.
1447- </ol>
1448-
1449-
14501371<h4 id="consume-escaped-code-point">
14511372Consume an escaped code point</h4>
14521373
0 commit comments