Skip to content

[css-transforms-1] 2D rotations are not actually defined in a clear way #4077

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bzbarsky opened this issue Jul 1, 2019 · 3 comments
Closed

Comments

@bzbarsky
Copy link

bzbarsky commented Jul 1, 2019

https://drafts.csswg.org/css-transforms-1/#RotateDefined says:

A 2D rotation with the parameter alpha is equivalent to a 3D rotation with vector [0,0,1] and parameter alpha.

Presumably this is meaning to reference the definition at https://drafts.csswg.org/css-transforms-2/#Rotate3dDefined but that's not at all clear from the text. This definition should have a link to css-transforms-2.

@ewilligers ewilligers added the css-transforms-1 Current Work label Aug 27, 2019
@dirkschulze
Copy link
Contributor

I think we simply removed the 3D part and missed to update the 2D transform descriptions.

@dirkschulze
Copy link
Contributor

@bzbarsky I restored the original text and images. CSS Transforms 1 is not supposed to reference level 2. (Since the latter builds up on top of the former.)

@bzbarsky
Copy link
Author

Hmm. I guess that works, through if x = y = 0 and z = 1, the matrix can be written much more simply...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants