[Bug 29413] Allow unitless 0 as a valid rotation value

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29413

Roman Dvornov <rdvornov@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rdvornov@gmail.com

--- Comment #2 from Roman Dvornov <rdvornov@gmail.com> ---
> Maybe no need to change this if Values and Units changes to allow unitless 0 for angles, as just resolved.

Unitless zero for angles is allowed by CSS2.2 and CSS Values and Units Module
Level 3

https://www.w3.org/TR/CSS22/aural.html#angles
> Like for <length>, the unit may be omitted, if the value is zero: '0deg' may be written as '0'.

https://www.w3.org/TR/css-values-3/#angles
> ... However, for zero angles the unit identifier is optional (i.e. can be syntactically represented as the number 0). ...

Also spec has it's own <angle> definition (influenced by SVG) and it's
confusing.
https://www.w3.org/TR/css-transforms-1/#svg-angle
> An angle can be a <number> without an unit identifier. In this case the number gets interpreted as a value in degrees.

I think, the last one should be a separate issue.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 21 December 2016 10:52:34 UTC