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

Looking at the first test failure, we have:

> rotateX(90deg) translateX(100px) → rotate3d(50, 0, 0, 180deg) translateY(200px)

Which I would expect to be equivalent to:

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

And at 25% progress I would expect the result to be:

> rotateX(112.5deg) translate(75px) translateY(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 patch for matching zero angles applied) gives.

Chrome 71 gives me:

> matrix3d(1, 0, 0, 0, 0, -1, 1.22465e-16, 0, 0, -1.22465e-16, -1, 0, 75, -50, 6.12323e-15, 1)

which differs from Gecko _and_ the result expected in the test.

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

Received on Monday, 29 October 2018 05:10:54 UTC