LibWeb: Add missing visits for Document's pending animation event queue

This commit is contained in:
Matthew Olsson 2024-02-23 08:55:27 -07:00 committed by Andreas Kling
parent 4e27d07ff2
commit fc62989f1a
Notes: sideshowbarker 2024-07-17 20:22:04 +09:00

View File

@ -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