Re: [css-houdini-drafts] [css-typed-om] What to do with a 2d CSSMatrixComponent set to a 3d DOMMatrix?

You'll get a foreshortening in the X direction.

Look at the matrix for R_y in the first image here: https://en.wikipedia.org/wiki/Rotation_matrix#Basic_rotations

The X scale factor is cos(theta), and not ignored. The other rotation factors get ignored. This makes sense if you think about what a flattened Y rotation would look like.

-- 
GitHub Notification of comment by shans
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/366#issuecomment-305041598 using your GitHub account

Received on Tuesday, 30 May 2017 23:53:47 UTC