[csswg-drafts] [css-transforms] 2D and 3D rotation are distinct

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

== [css-transforms] 2D and 3D rotation are distinct ==
A note was recently added for the individual transform properties:

> While rotate: 30deg; and rotate: z 30deg; technically specify the same rotation, the first declaration is a 2d transform equivalent to transform: rotate(30deg);, while the second is a 3d transform equivalent to transform: rotateZ(30deg);, which can have additional side-effects in UAs.

However, the 'transform' property's rotateZ function suggests no distinction between 2D and 3D rotations:

> rotateZ() = rotateZ( [ \<angle\> | \<zero\> ] )
> same as rotate3d(0, 0, 1, \<angle\>), which is also the same as rotate(\<angle\>).

We should be consistent. Suggested wording:

> rotateZ() = rotateZ( [ \<angle\> | \<zero\> ] )
> same as rotate3d(0, 0, 1, \<angle\>), which is a 3d transform equivalent to the 2d transform rotate(\<angle\>).


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

Received on Monday, 9 April 2018 13:14:09 UTC