mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00: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:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user