Closed
Bug 1518403
Opened 5 years ago
Closed 5 years ago
Make IsCurrent reflect the animation's playback rate
Categories
(Core :: DOM: Animation, defect, P3)
Core
DOM: Animation
Tracking
()
RESOLVED
FIXED
mozilla66
Tracking | Status | |
---|---|---|
firefox66 | --- | fixed |
People
(Reporter: birtles, Assigned: birtles)
References
()
Details
Attachments
(3 files)
Based on whatever spec changes come out of:
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Seems good. Made spec PR: https://github.com/w3c/csswg-drafts/pull/3490
Assignee | ||
Comment 3•5 years ago
|
||
As per the following spec change: https://github.com/w3c/csswg-drafts/commit/4ec1deb76ab7a6d6cf4cd6818dc63387ea595884 Spec issue: https://github.com/w3c/csswg-drafts/issues/3193 Of the added test cases, only the last one, "Returns reversed animations yet to reach their active phase" fails without this code change. The others pass because the animation is finished at that point but I added them for consistency with the previous tests.
Assignee | ||
Comment 4•5 years ago
|
||
Try run with zero playback rate animations not considered "is current" for before/after phase:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=4d0d6905f340bfe61e2384eee3af8eb30641fff8
Assignee | ||
Comment 5•5 years ago
|
||
And adding a test case that we run these animations on the compositor (i.e. that bug 1330498 is fixed):
https://treeherder.mozilla.org/#/jobs?repo=try&revision=d3bb3f0ba7c5b44bec57cf8691d580e20539cb78
Comment 6•5 years ago
|
||
(Thanks for fixing typos there.)
Assignee | ||
Comment 7•5 years ago
|
||
As per following spec update: https://github.com/w3c/csswg-drafts/commit/0c369c0806921246d0f3914341aa37daa9a753c9 Depends on D16001
Assignee | ||
Comment 9•5 years ago
|
||
Depends on D16131
Comment 10•5 years ago
|
||
Pushed by bbirtles@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f8fa3111ea8e Make "is current" depend on the direction of the associated animation's playback rate; r=hiro https://hg.mozilla.org/integration/autoland/rev/052892f1cbd1 Make IsCurrent return false for animations with playback rate == 0 that are in before/active phase; r=hiro https://hg.mozilla.org/integration/autoland/rev/2f2b4d6aabeb Add test that animations with a negative playback rate are sent to the compositor even in the delay phase; r=hiro
Comment 11•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f8fa3111ea8e
https://hg.mozilla.org/mozilla-central/rev/052892f1cbd1
https://hg.mozilla.org/mozilla-central/rev/2f2b4d6aabeb
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox66:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/14793 for changes under testing/web-platform/tests
You need to log in
before you can comment on or make changes to this bug.
Description
•