- From: <bugzilla@jessica.w3.org>
- Date: Fri, 14 Feb 2014 12:55:41 +0000
- To: public-css-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24661
Bug ID: 24661
Summary: Consume a numeric token misses the first digit
Product: CSS
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Syntax
Assignee: jackalmage@gmail.com
Reporter: yoav@yoav.ws
QA Contact: public-css-bugzilla@w3.org
In http://dev.w3.org/csswg/css-syntax/#consume-a-token , when the input code
point consumed is a digit, the spec indicates: "Consume a numeric token, and
return it."
The numeric token consumption starts from the next unconsumed input code point,
resulting in the first digit being discarded and not added to the numeric
token.
Other code points that lead to "consume a numeric token" (e.g. '+', '-', '.')
indicate to reconsume the current code point before calling "consume a numeric
token". I think that the "digit" code point should include similar
instructions.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 14 February 2014 12:55:43 UTC