1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:47:45 +00:00

LibWeb: Implement Document::remove_replaced_animations()

This commit is contained in:
Matthew Olsson 2024-02-03 18:21:29 -07:00 committed by Andreas Kling
parent fe848487db
commit 10fddb99fc
6 changed files with 105 additions and 1 deletions

View file

@ -54,6 +54,7 @@ public:
bool is_replaceable() const;
Bindings::AnimationReplaceState replace_state() const { return m_replace_state; }
void set_replace_state(Bindings::AnimationReplaceState value);
// https://www.w3.org/TR/web-animations-1/#dom-animation-pending
bool pending() const { return m_pending_play_task == TaskState::Scheduled || m_pending_pause_task == TaskState::Scheduled; }