DescriptionCSS Tokenizer: Fix edge cases in number parsing
This patch fixes a couple of small issues in the css-syntax number
parsing routine:
1) We shouldn't consume a "." if the next character isn't a digit
2) If any exponent argument is present we should use a 'number'
type (in the code we just check if we consumed anything after the
integer portion)
http://dev.w3.org/csswg/css-syntax/#consume-number
BUG=424988
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183979
Patch Set 1 #
Total comments: 7
Messages
Total messages: 9 (3 generated)
|