mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
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:
committed by
Andreas Kling
parent
ad59fb7cf0
commit
31e5b5f5de
Notes:
sideshowbarker
2024-07-17 21:16:31 +09:00
Author: https://github.com/kalenikaliaksandr Commit: https://github.com/SerenityOS/serenity/commit/31e5b5f5de Pull-request: https://github.com/SerenityOS/serenity/pull/22749 Reviewed-by: https://github.com/awesomekling
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user