[wpt-sync] Sync PR 63413 - Update animation when setting currentTime with null timeline
Categories
(Core :: DOM: Animation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63413 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63413
Details from upstream follow.
David Awogbemila <awogbemila@chromium.org> wrote:
Update animation when setting currentTime with null timeline
When an animation has no timeline, setting currentTime leaves the
animation outdated without an active timeline to tick it. This can leave
the animation outdated until a later lifecycle phase (such as Paint)
lazily queries its state, triggering an on-demand timing update and
style invalidation mid-paint.This CL eagerly updates the timing model and invalidates the effect in
Animation::setCurrentTime when timeline_ is null, matching the behavior
in Animation::setTimeline.Bug: 567645136
Change-Id: I5b977331b3670a9b9d88e744d6a58049388a5868
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8517898
Commit-Queue: David A \<awogbemila@chromium.org>
Reviewed-by: Kevin Ellis \<kevers@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1714449}
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=102649
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 41 tests
Status Summary
Firefox
PASS: 1[GitHub] 41[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
Chrome
PASS: 1
Safari
PASS: 1
Description
•