mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 17:28:30 +00:00
LibWeb: Rename invalidate_layout() => invalidate_layout_tree()
I believe this is slightly less confusing, since what the function does is trigger a full layout tree *rebuild*, not just a relayout.
This commit is contained in:
committed by
Andreas Kling
parent
e205723b95
commit
aa8f17aea4
@@ -363,7 +363,7 @@ void HTMLObjectElement::update_layout_and_child_objects(Representation represent
|
||||
|
||||
m_representation = representation;
|
||||
invalidate_style(DOM::StyleInvalidationReason::HTMLObjectElementUpdateLayoutAndChildObjects);
|
||||
document().invalidate_layout();
|
||||
document().invalidate_layout_tree();
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/interaction.html#dom-tabindex
|
||||
|
||||
Reference in New Issue
Block a user