mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
LibWeb: Include children-are-inline state in layout tree dumps
Sometimes it's really helpful to know if a box considers its children to be inline or not.
This commit is contained in:
parent
6b8358b1f1
commit
618273b48d
Notes:
sideshowbarker
2024-07-17 16:46:04 +09:00
Author: https://github.com/awesomekling
Commit: 618273b48d
1 changed files with 2 additions and 0 deletions
|
@ -223,6 +223,8 @@ void dump_tree(StringBuilder& builder, Layout::Node const& layout_node, bool sho
|
|||
box.box_model().margin.bottom);
|
||||
}
|
||||
|
||||
builder.appendff(" children: {}", box.children_are_inline() ? "inline" : "not-inline");
|
||||
|
||||
builder.append("\n");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue