1
0
Fork 0
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:
Andreas Kling 2022-03-26 00:10:36 +01:00
parent 6b8358b1f1
commit 618273b48d
Notes: sideshowbarker 2024-07-17 16:46:04 +09:00

View file

@ -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");
}