[Webkit-unassigned] [Bug 222939] [Web Animations] setKeyframes does not preserve animation's current offset

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 9 07:26:36 PST 2021


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

--- Comment #4 from Antoine Quint <graouts at webkit.org> ---
What happens is that calling seyKeyframes() empties m_blendingKeyframes and we rely on that to have KeyframeEffect::animatedProperties() return the effect's properties inside of DocumentTimeline::animationCanBeRemoved(). Because we are not aware of any animated properties, the animation is marked as removable and retired from the keyframe effect stack, and thus it is no longer invalidated during the ensuing style update.

I think all this needs is for KeyframeEffect::animatedProperties() to return properties from the parsed keyframes until the next style update when m_blendingKeyframes will be reset.

-- 
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/20210309/022c66e8/attachment.htm>


More information about the webkit-unassigned mailing list