Re: [csswg-drafts] [css-transforms-2] Permit piecewise rotation interpolation when 0deg angle is present #3236

For the third test failure we have:

> rotateX(90deg) translateX(100px) → rotateY(0deg) translateY(200px)

which we expect to become:

> rotateX(90deg) translateX(100px) → rotateX(0deg) translateY(200px)

and at 25% that should give us:

> rotateX(67.5deg) translate(75px, 50px)

i.e.

> matrix3d(1, 0, 0, 0, 0, 0.382683, 0.92388, 0, 0, -0.92388, 0.382683, 0, 75, 19.1342, 46.194, 1)

which is what Gecko (with the zero angle matching patch applied) gives.

The test, however, expects:

> matrix3d(1, 0, 0, 0, 0, 0.573576, 0.819152, 0, 0, -0.819152, 0.573576, 0, 75, 28.6788, 40.9576, 1)

While Chrome gives:

> matrix(1, 0, 0, 1, 75, 50)

-- 
GitHub Notification of comment by birtles
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/3250#issuecomment-433792435 using your GitHub account

Received on Monday, 29 October 2018 05:28:26 UTC