DescriptionClamp CSS numbers to float range at parsing.
The CSS parser previously did late checks that all number-type tokens
were in the range of a float, and treated them as invalid if not.
Instead, this CL clamps CSS number-type values to float range at parse-
time, and removes the now-extraneous checks.
This should be faster that iterating over already-parsed tokens,
and treats a wider range of values as valid (anything that successfully
parses as a double is now valid).
Patch Set 1 #
Total comments: 2
Messages
Total messages: 9 (3 generated)
|