You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css-syntax/Overview.src.html
+6-8Lines changed: 6 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -446,7 +446,7 @@ <h2>
446
446
Additionally, hash tokens have a type flag set to either "id" or "unrestricted". The type flag defaults to "unrestricted" if not otherwise set.
447
447
Delim tokens have a value composed of a single character.
448
448
Number, percentage, and dimension tokens have a representation composed of 1 or more character, and a numeric value.
449
-
Number tokens additionally have a type flag set to either "integer" or "number". The type flag defaults to "integer" if not otherwise set.
449
+
Number and dimension tokens additionally have a type flag set to either "integer" or "number". The type flag defaults to "integer" if not otherwise set.
450
450
Dimension tokens additionally have a unit composed of one or more characters.
451
451
Unicode-range tokens have a range of characters.
452
452
@@ -1370,13 +1370,8 @@ <h4>
1370
1370
1371
1371
<p>
1372
1372
Otherwise,
1373
-
create a dimension token
1374
-
with its representation set to the number token's representation,
1375
-
its value set to the number
1376
-
produced by interpreting the number token's representation
1377
-
as a base-10 number,
1378
-
and its unit initially set to the <i>current input character</i>.
1379
-
Switch to the <i>dimension state</i>.
1373
+
switch to the <i>number-end state</i>.
1374
+
<i>Reconsume the current input character</i>.
1380
1375
1381
1376
<dt>anything else
1382
1377
<dd>
@@ -1434,6 +1429,7 @@ <h4>
1434
1429
create a dimension token
1435
1430
with its representation set to the number token's representation,
1436
1431
its value set to the number token's value,
1432
+
its type flag set to the number token's type flag,
1437
1433
and a unit initially set to the <i>current input character</i>.
1438
1434
Switch to the <i>dimension state</i>.
1439
1435
@@ -1448,6 +1444,7 @@ <h4>
1448
1444
Create a dimension token
1449
1445
with its representation set to the number token's representation,
1450
1446
its value set to the number token's value,
1447
+
its type flag set to the number token's type flag,
1451
1448
and a unit initially set to the <i>current input character</i>.
1452
1449
Switch to the <i>dimension state</i>.
1453
1450
@@ -1458,6 +1455,7 @@ <h4>
1458
1455
Create a dimension token
1459
1456
with its representation set to the number token's representation,
1460
1457
its value set to the number token's value,
1458
+
its type flag set to the number token's type flag,
1461
1459
and a unit initially set to the returned character.
0 commit comments