mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 10:19:20 +00:00
LibWeb: Add missing visits for Document's pending animation event queue
This commit is contained in:
parent
4e27d07ff2
commit
fc62989f1a
Notes:
sideshowbarker
2024-07-17 20:22:04 +09:00
Author: https://github.com/mattco98
Commit: fc62989f1a
Pull-request: https://github.com/SerenityOS/serenity/pull/23311
Issue: https://github.com/SerenityOS/serenity/issues/21570
1 changed files with 5 additions and 0 deletions
|
@ -478,6 +478,11 @@ void Document::visit_edges(Cell::Visitor& visitor)
|
|||
|
||||
for (auto& element : m_potentially_named_elements)
|
||||
visitor.visit(element);
|
||||
|
||||
for (auto& event : m_pending_animation_event_queue) {
|
||||
visitor.visit(event.event);
|
||||
visitor.visit(event.target);
|
||||
}
|
||||
}
|
||||
|
||||
// https://w3c.github.io/selection-api/#dom-document-getselection
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue