mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 23:53:20 +00:00
LibWeb: Add debug logging of reasons for layout tree update
This commit is contained in:
parent
fa9c463ffd
commit
545ed08519
Notes:
github-actions[bot]
2025-04-20 22:32:03 +00:00
Author: https://github.com/awesomekling
Commit: 545ed08519
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4411
9 changed files with 68 additions and 19 deletions
|
@ -564,7 +564,7 @@ void HTMLObjectElement::update_layout_and_child_objects(Representation represent
|
|||
invalidate_style(DOM::StyleInvalidationReason::HTMLObjectElementUpdateLayoutAndChildObjects);
|
||||
|
||||
if (auto parent_element = this->parent_element())
|
||||
parent_element->set_needs_layout_tree_update(true);
|
||||
parent_element->set_needs_layout_tree_update(true, DOM::SetNeedsLayoutTreeUpdateReason::HTMLObjectElementUpdateLayoutAndChildObjects);
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/interaction.html#dom-tabindex
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue