mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:27:35 +00:00
LibWeb: Small improvements to layout tree dumps
- Say "content-size" instead of just "size" to clarify which size it is - Show box model metrics by default
This commit is contained in:
parent
ae2591657d
commit
ed44f9e290
2 changed files with 2 additions and 2 deletions
|
@ -165,7 +165,7 @@ void dump_tree(StringBuilder& builder, Layout::Node const& layout_node, bool sho
|
|||
if (interactive)
|
||||
builder.appendff("@{:p} ", &layout_node);
|
||||
|
||||
builder.appendff("at ({},{}) size {}x{}",
|
||||
builder.appendff("at ({},{}) content-size {}x{}",
|
||||
box.absolute_x(),
|
||||
box.absolute_y(),
|
||||
box.content_width(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue