[csswg-drafts] [css-transforms-2] `scale` property behavior differs from `scale()` function

birtles has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-transforms-2] `scale` property behavior differs from `scale()` function ==
This is basically just re-opening issue #856 but without the focus being interop.

> `transform: scale(2)`

Is equivalent to `transform: scale(2, 2)`, i.e. scaling both x/y.

> `scale: 2`

is equivalent to `transform: scale(2, 1)`, i.e. scaling x only.

That seems inconsistent and surprising. I've yet to meet anyone who expects that `scale: 2` scales in only x.

I understand that `scale` can be used for 3D transforms, but `scale3d()` requires three arguments so I don't think there's any parallel between the arguments used there and here.

CC: @ewilligers @FremyCompany @gregwhitworth 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2109 using your GitHub account

Received on Thursday, 14 December 2017 12:19:14 UTC