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 04:35:05 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-433785959-1540787704-sysbot+gh@w3.org>
> Have some WIP tests though Firefox and Chrome disagree on how to perform matrix interpolation in the negative case heh.

After adding the "match zero angles" behavior to Gecko I get the following errors from those wpt:

```
FAIL Match on rotation vector: Animation between "rotateX(90deg) translateX(100px)" and "rotate3d(50, 0, 0, 180deg) translateY(200px)" at progress 0.25 - assert_equals: expected "matrix3d(1, 0, 0, 0, 0, -0.707107, 0.707107, 0, 0, -0.707107, -0.707107, 0, 75, -35.3553, 35.3553, 1)" but got "matrix3d(1, 0, 0, 0, 0, -0.382683, 0.92388, 0, 0, -0.92388, -0.382683, 0, 75, -19.1342, 46.194, 1)"
FAIL Mismatch on rotation vector: Animation between "rotateX(90deg) translateX(100px)" and "rotateY(90deg) translateY(200px)" at progress 0.25 - assert_equals: expected "matrix3d(0, 0, -1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 50, -75, 1)" but got "matrix3d(0.910684, 0.244017, -0.333333, 0, 0.244017, 0.333333, 0.910684, 0, 0.333333, -0.910684, 0.244017, 0, 80.5021, 34.9679, 20.5342, 1)"
FAIL Match on rotation due to 0deg angle: Animation between "rotateX(90deg) translateX(100px)" and "rotateY(0deg) translateY(200px)" at progress 0.25 - assert_equals: expected "matrix3d(1, 0, 0, 0, 0, 0.573576, 0.819152, 0, 0, -0.819152, 0.573576, 0, 75, 28.6788, 40.9576, 1)" but got "matrix3d(1, 0, 0, 0, 0, 0.382683, 0.92388, 0, 0, -0.92388, 0.382683, 0, 75, 19.1342, 46.194, 1)"
```

-- 
GitHub Notification of comment by birtles
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/3250#issuecomment-433785959 using your GitHub account
Received on Monday, 29 October 2018 04:35:13 UTC

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