mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 17:58:18 +03: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: https://github.com/SerenityOS/serenity/commit/fc62989f1a Pull-request: https://github.com/SerenityOS/serenity/pull/23311 Issue: https://github.com/SerenityOS/serenity/issues/21570
@ -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…
Reference in New Issue
Block a user