Re: [csswg-drafts] [css-transforms-2] Should individual transform properties accept unitless 0 angle as a value?

> I think the guideline is to never support unitless 0 angle unless we need to for reasons of legacy compatibility.

Yeah, that was what I expected to here. I'm glad I caught that on review then :P 

>Allowing unitless 0 also makes 0 1 0 0 harder to read - it isn't instantly obvious if the author intended rotation around the x or y axis.
>
> The axis() with reordering proposal in #1269 would help here - the author's intent is clear with axis(0 1 0) 0deg or 0deg axis(1 0 0) - but it also weakens the compatibility argument for unitless 0.

Indeed, those are both fair points.

@birtles would you be fine with closing this without a spec change?

-- 
GitHub Notification of comment by emilio
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2116#issuecomment-352331785 using your GitHub account

Received on Monday, 18 December 2017 05:46:10 UTC