Closed Bug 1944975 Opened 23 days ago Closed 21 days ago

[wpt-sync] Sync PR 50395 - Calculate TimeToEffectChange for active reverse animations

Categories

(Core :: DOM: Animation, task, P4)

task

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 50395 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/50395
Details from upstream follow.

Claire Chambers <clchambers@microsoft.com> wrote:

Calculate TimeToEffectChange for active reverse animations

This change fixes a long-standing issue where TimeToEffectChange would
always resolve zero for playback rates \<0. Instead, they now resolve
similarly to animations with positive delays.

This CL adds tests to ensure composited paint worklet animations work
correctly with the new behavior, as well as editing a unit test for
KeyframeEffect to match the new behavior.

Additionally, reverse-running-animation.html, which tested step timing
functions with reverse playback rates, never operated correctly due
to a typo. This is now fixed.

Change-Id: I1002c319c34b4a7f713c71a76dcd4e6292b33771
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6179078
Reviewed-by: Kevin Ellis \<kevers@chromium.org>
Commit-Queue: Claire Chambers \<clchambers@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1413710}

Component: web-platform-tests → DOM: Animation
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

FAIL: 1

Safari

PASS: 1

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3bf680261565 [wpt PR 50395] - Calculate TimeToEffectChange for active reverse animations, a=testonly
Status: NEW → RESOLVED
Closed: 21 days ago
: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.