W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2018

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

From: Brian Birtles via GitHub <sysbot+gh@w3.org>
Date: Mon, 29 Oct 2018 05:28:24 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-433792435-1540790903-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:38 UTC