LibWeb: Use paintable to represent event tracking node

The use of layout nodes likely predated the paintable tree, but now
there is no point in introducing another level of indirection.
This commit is contained in:
Aliaksandr Kalenik 2024-01-14 10:14:36 +01:00 committed by Andreas Kling
commit 31e5b5f5de
Notes: sideshowbarker 2024-07-17 21:16:31 +09:00
6 changed files with 24 additions and 14 deletions

View file

@ -297,6 +297,8 @@ void BrowsingContext::visit_edges(Cell::Visitor& visitor)
visitor.visit(m_last_child);
visitor.visit(m_next_sibling);
visitor.visit(m_previous_sibling);
m_event_handler.visit_edges(visitor);
}
// https://html.spec.whatwg.org/multipage/document-sequences.html#bc-traversable