Skip to content

Commit ea87b27

Browse files
committed
Track whether a number/percentage/dimension is an integer or not.
--HG-- extra : rebase_source : f4cc6aa615bdc0a1308ae7aa901e3ade91213bdf
1 parent db7028e commit ea87b27

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

css3-syntax/Overview.src.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ <h3>
269269
<p>
270270
Ident, function, at-keyword, hash, string, and url tokens have a value composed of zero or more characters.
271271
Delim tokens have a value composed of a single character.
272-
Number, percentage, and dimension tokens have a representation composed of 1 or more character, a numeric value, and a type flag set to either "integer" or "number". The type flag defaults to "number" if not otherwise set.
272+
Number, percentage, and dimension tokens have a representation composed of 1 or more character, a numeric value, and a type flag set to either "integer" or "number". The type flag defaults to "integer" if not otherwise set.
273273
Dimension tokens additionally have a unit composed of one or more characters.
274274
Unicode-range tokens have a range of characters.
275275

@@ -1208,6 +1208,9 @@ <h4>
12081208
<h4>
12091209
<dfn>Number-fraction state</dfn></h4>
12101210

1211+
<p>
1212+
Set the number token's type flag to "number".
1213+
12111214
<p>
12121215
Consume the <i>next input character</i>.
12131216

0 commit comments

Comments
 (0)