mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 08:36:12 +00:00
LibWeb: Stop spamming animation events on the wrong event target
This patch fixes two issues: - Animation events that should go to the target element now do (some were previously being dispatched on the animation itself.) - We update the "previous phase" and "previous iteration" fields of animation effects, so that we can actually detect phase changes. This means we stop thinking animations always just started, something that caused each animation to send 60 animationstart events every second (to the wrong target!)
This commit is contained in:
parent
a68222f654
commit
f4636a0cf5
Notes:
sideshowbarker
2024-07-17 17:06:59 +09:00
Author: https://github.com/awesomekling
Commit: f4636a0cf5
Pull-request: https://github.com/SerenityOS/serenity/pull/24418
5 changed files with 72 additions and 11 deletions
|
@ -0,0 +1,2 @@
|
|||
animationstart
|
||||
animationend
|
Loading…
Add table
Add a link
Reference in a new issue