Open Bug 1746107 Opened 3 years ago

Handle pending animations well if the timeline doesn't have current time at the moment of play or pause

Categories

(Core :: CSS Transitions and Animations, defect, P3)

defect

Tracking

()

People

(Reporter: boris, Unassigned)

References

(Blocks 1 open bug)

Details

In Bug 1741255, we'd like to use TriggerNow() for scroll-animations in PlayNoUpdate() and PauseNoUpdate(). However, it's possible that GetCurrentTimeAsDuration() returns nullptr, and so we don't trigger it in this case (i.e. this animation may be always pending). We have to address this issue in this bug.

Besides, we should check Chrome's behavior, when animation-start event gets fired if the animation is linked to an element that was initially in display:none subtree but gets visible later.

You need to log in before you can comment on or make changes to this bug.