[wpt-sync] Sync PR 22757 - Fixed playing finished scroll animations on reverse scrolling.
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox77 fixed)
| Tracking | Status | |
|---|---|---|
| firefox77 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 22757 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/22757
Details from upstream follow.
Olga Gerchikov <gerchiko@microsoft.com> wrote:
Fixed playing finished scroll animations on reverse scrolling.
Changes made:
- Added AnimationTimeline::IsMonotonicallyIncreasing based on [1].
- After animation update procedure never remove scroll animations from
animations needing update list. This is to ensure that not
monotonically increasing timelines update all attached animations on
current time change.- Fixed updating an animation’s finished state procedure to early exit
if current time hasn't been updated as described in [2].[1] https://drafts.csswg.org/web-animations/#monotonically-increasing-timeline
[2] https://drafts.csswg.org/web-animations/#update-animations-and-send-eventsBug: 1060571
Change-Id: I9f8b83ad70626eae41bb66ade19fcfa5fd73ee31
Reviewed-on: https://chromium-review.googlesource.com/2138167
WPT-Export-Revision: 7fd1d512e812ac93a42fefd4f7fc10d44496380c
| Assignee | ||
Comment 1•5 years ago
|
||
| Assignee | ||
Comment 3•5 years ago
|
||
Comment 4•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/4841a65983bc
https://hg.mozilla.org/mozilla-central/rev/383cd57444ac
Description
•