Closed Bug 1501176 Opened 7 years ago Closed 7 years ago

rotate[XYZ]?(0deg) should interpolate with rotate[XYZ]?(__deg)

Categories

(Core :: CSS Transitions and Animations, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: birtles, Assigned: birtles)

References

Details

Attachments

(2 files)

See bug 1500820 comment 5. Basically Chromium will allow interpolating something like rotate(0deg) with rotateX(360deg) by interpolating the angle rather than falling back to matrix interpolation. The spec doesn't strictly allow this but it seems to match what authors would expect so we should update the spec and then do likewise in Gecko.
Priority: -- → P3
Alan Cutter made up some spec text for this: https://github.com/w3c/csswg-drafts/pull/3250
He even has some WIP tests (what a champ) -- but apparently they reveal even further differences in Gecko vs Blink :( https://github.com/alancutter/web-platform-tests/commit/2d25a0f6ac889cf3ee140057d5255ba9771f9706#diff-44fa4a5f6830eb8dcb8a4f9b848f43b9R89
I looked into the test failures, fixed a couple of mistaken tests, and dropped one that is probably related to bug 1499862. https://treeherder.mozilla.org/#/jobs?repo=try&revision=273ec83bb551b3df953e50486520f49173767d2d
Assignee: nobody → bbirtles
Status: NEW → ASSIGNED
When this is ready to land, I plan to push the following test patch (written by Alan Cutter who has given me permission to land it with changes) too but Phabricator won't let me upload a patch on someone else's behalf: https://hg.mozilla.org/try/rev/b634297ab9ae209e7f380597395736032b7d33fc
Attached patch Tests patchSplinter Review
(In reply to Brian Birtles (:birtles) from comment #6) > When this is ready to land, I plan to push the following test patch (written > by Alan Cutter who has given me permission to land it with changes) too but > Phabricator won't let me upload a patch on someone else's behalf: > > https://hg.mozilla.org/try/rev/b634297ab9ae209e7f380597395736032b7d33fc Interesting, I did upload patches by Thomas Wisniewski before. https://phabricator.services.mozilla.com/rMOZILLACENTRAL7d16ad1fa81ef1e0a441dcd912090e4e20f00a14
Yeah, I think the problem was that I am the reviewer of it and even though I set the patch author to Alan, Phabricator was treating me as the author. I got: > ERR-CONDUIT-CORE: Validation errors: > - The author of a revision can not be a reviewer.
Pushed by bbirtles@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/9ccb4ba13d95 Interpolate the angle between mis-matched rotate() functions when the angle of one is zero; r=hiro https://hg.mozilla.org/integration/mozilla-inbound/rev/5bba3913b39b Add tests for interpolating between mismatching rotate() functions where one has a zero angle; r=birtles
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/13783 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: