Closed Bug 1771282 Opened 2 years ago Closed 2 years ago

Dynamic timeline change doesn't remove from the pending play set.

Categories

(Core :: CSS Transitions and Animations, defect)

defect

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: emilio, Assigned: boris)

References

(Blocks 1 open bug)

Details

Attachments

(2 files, 1 obsolete file)

See diagnosis in bug 1730284 comment 22.

Severity: -- → S3
Assignee: nobody → boris.chiou
Status: NEW → ASSIGNED
See Also: → 1772059
Attached file A simple testcase
Blocks: 1772059
See Also: 1772059

So we can handle the pending the case if this animation is still in the pending
animation tracker while changing timeline easily.

Besides, we have to make sure the start time and hold time are set
properly when setting the timeline, so we also implement the setup per
"if to finite timeline" part in the section of setting-the-timeline in
[web-animations-2],
https://drafts.csswg.org/web-animations-2/#setting-the-timeline.

We'd like to introduce anthor animation tracker for scroll-timeline, so
we factor out the common part first.

Attachment #9299126 - Attachment description: Bug 1771282 - Let PendingAnimationTracker handle scroll-linked animations as well. → Bug 1771282 - Part 2: Introduce ScrollTimelineAnimationTracker.
Attachment #9300279 - Attachment is obsolete: true
Attachment #9299126 - Attachment description: Bug 1771282 - Part 2: Introduce ScrollTimelineAnimationTracker. → Bug 1771282 - Introduce ScrollTimelineAnimationTracker.
Pushed by bchiou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5ace811f7315
Introduce ScrollTimelineAnimationTracker. r=hiro
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/36741 for changes under testing/web-platform/tests

Backed out for causing bustages in dist/include/mozilla/RefPtr.h

Backout link: https://hg.mozilla.org/integration/autoland/rev/30b19e195eef8d631e4c14256d735d2d2015374a

Push with failures

Failure log

INFO -  In file included from /builds/worker/workspace/obj-build/dist/include/nsISupportsUtils.h:17:
[task 2022-10-31T15:42:08.101Z] 15:42:08    ERROR -  /builds/worker/workspace/obj-build/dist/include/mozilla/RefPtr.h:49:37: error: member access into incomplete type 'mozilla::dom::Document'
[task 2022-10-31T15:42:08.102Z] 15:42:08     INFO -    static void AddRef(U* aPtr) { aPtr->AddRef(); }
Flags: needinfo?(boris.chiou)
Flags: needinfo?(boris.chiou)
Pushed by bchiou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/edac68e2456c
Introduce ScrollTimelineAnimationTracker. r=hiro
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
Duplicate of this bug: 1772059
Upstream PR merged by moz-wptsync-bot
Regressions: 1798430
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: