Closed Bug 2025727 Opened 2 months ago Closed 1 month ago

[wpt-sync] Sync PR 58704 - Implement image-animation stopped value

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
151 Branch
Tracking Status
firefox151 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Seokho Song <seokho@chromium.org> wrote:

Implement image-animation stopped value

The "stopped" value should stop the animation and reset its
timeline [1].

Since kAnimationNone does not call the AnimationState::UpdateMetadata
due to they don't register as animated images, we need to reset the
frame when the transitioning from the 'stopped' value.

Separate updating next_desired_frame_time on paused and sync sequence
difference. And add the reset animation branch for the sync sequence id
different AND sync target is invalid id.

[1] https://drafts.csswg.org/css-image-animation-1/#valdef-image-animation-stopped

Bug: 429459566
Change-Id: I4af7fd47959ead9f00f7e592df3ceed72000a03d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7687054
Reviewed-by: Anders Hartvoll Ruud \<andruud@chromium.org>
Reviewed-by: Florin Malita \<fmalita@chromium.org>
Commit-Queue: Seokho Song \<seokho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1603921}

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 4 tests

Status Summary

Firefox

FAIL: 4

Chrome

FAIL: 4

Safari

FAIL: 4

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch
You need to log in before you can comment on or make changes to this bug.