mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00: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:
parent
ad59fb7cf0
commit
31e5b5f5de
Notes:
sideshowbarker
2024-07-17 21:16:31 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: 31e5b5f5de
Pull-request: https://github.com/SerenityOS/serenity/pull/22749
Reviewed-by: https://github.com/awesomekling
6 changed files with 24 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue