Closed Bug 1628082 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 22757 - Fixed playing finished scroll animations on reverse scrolling.

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox77 fixed)

RESOLVED FIXED
mozilla77
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-events

Bug: 1060571
Change-Id: I9f8b83ad70626eae41bb66ade19fcfa5fd73ee31
Reviewed-on: https://chromium-review.googlesource.com/2138167
WPT-Export-Revision: 7fd1d512e812ac93a42fefd4f7fc10d44496380c

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4841a65983bc [wpt PR 22757] - Fixed playing finished scroll animations on reverse scrolling., a=testonly https://hg.mozilla.org/integration/autoland/rev/383cd57444ac [wpt PR 22757] - Update wpt metadata, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.