1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 11:07:35 +00:00

LibWeb: Add Document's pending animation event queue

This is needed for Animation's update finished state procedure
This commit is contained in:
Matthew Olsson 2023-11-04 13:35:30 -07:00 committed by Andreas Kling
parent 8053d40fd5
commit 979b9b942b
2 changed files with 15 additions and 0 deletions

View file

@ -3585,4 +3585,9 @@ void Document::disassociate_with_timeline(JS::NonnullGCPtr<Animations::Animation
m_associated_animation_timelines.remove(timeline);
}
void Document::append_pending_animation_event(Web::DOM::Document::PendingAnimationEvent const& event)
{
m_pending_animation_event_queue.append(event);
}
}