mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb: Update style before getting animation play state
Pending style updates can influence this value
This commit is contained in:
committed by
Alexander Kalenik
parent
a95cde3660
commit
fbcef936a9
Notes:
github-actions[bot]
2025-11-02 22:55:11 +00:00
Author: https://github.com/Calme1709 Commit: https://github.com/LadybirdBrowser/ladybird/commit/fbcef936a97 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6642 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -0,0 +1,15 @@
|
||||
Harness status: OK
|
||||
|
||||
Found 9 tests
|
||||
|
||||
4 Pass
|
||||
5 Fail
|
||||
Fail Animated style is cleared after canceling a running CSS animation
|
||||
Fail Animated style is cleared after canceling a filling CSS animation
|
||||
Pass After canceling an animation, it can still be seeked
|
||||
Fail After canceling an animation, it can still be re-used
|
||||
Fail After canceling an animation, updating animation properties doesn't make it live again
|
||||
Fail After canceling an animation, updating animation-play-state doesn't make it live again
|
||||
Pass Setting animation-name to 'none' cancels the animation
|
||||
Pass Setting display:none on an element cancel its animations
|
||||
Pass Setting display:none on an ancestor element cancels animations on descendants
|
||||
@@ -0,0 +1,10 @@
|
||||
Harness status: OK
|
||||
|
||||
Found 5 tests
|
||||
|
||||
5 Pass
|
||||
Pass A new CSS animation is initially play-pending
|
||||
Pass Animation returns correct playState when paused
|
||||
Pass Animation.playState updates when paused by script
|
||||
Pass Animation.playState updates when resumed by setting style
|
||||
Pass Animation returns correct playState when canceled
|
||||
Reference in New Issue
Block a user