[Webkit-unassigned] [Bug 265280] [web-animations] setting currentTime=0 when animation-play-state=paused, doesn't restart animation after unpausing it

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 27 03:50:05 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=265280

Antoine Quint <graouts at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[WebAnimations] setting     |[web-animations] setting
                   |currentTime=0 when          |currentTime=0 when
                   |animation-play-state=paused |animation-play-state=paused
                   |, doesn't restart animation |, doesn't restart animation
                   |after unpausing it          |after unpausing it

--- Comment #3 from Antoine Quint <graouts at webkit.org> ---
There appears to be two issues here:

1. calling `getAnimations()` on the `#outer` element returns an empty array while calling `getAnimations({ subtree: true })` on the same element returns the paused CSS Animation set on #outer.

2. setting `currentTime` to 0 prevents a CSS Animation from being resumed by removing the `animation-play-state` property.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20231127/792c828b/attachment-0001.htm>


More information about the webkit-unassigned mailing list