diff --git a/Userland/Libraries/LibWeb/Dump.cpp b/Userland/Libraries/LibWeb/Dump.cpp index 7fc367cf58..30851b8a7a 100644 --- a/Userland/Libraries/LibWeb/Dump.cpp +++ b/Userland/Libraries/LibWeb/Dump.cpp @@ -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(), diff --git a/Userland/Libraries/LibWeb/Dump.h b/Userland/Libraries/LibWeb/Dump.h index 81a7d4040a..aa12e4ba2f 100644 --- a/Userland/Libraries/LibWeb/Dump.h +++ b/Userland/Libraries/LibWeb/Dump.h @@ -15,7 +15,7 @@ namespace Web { void dump_tree(StringBuilder&, DOM::Node const&); void dump_tree(DOM::Node const&); void dump_tree(StringBuilder&, Layout::Node const&, bool show_box_model = false, bool show_specified_style = false, bool colorize = false); -void dump_tree(Layout::Node const&, bool show_box_model = false, bool show_specified_style = false); +void dump_tree(Layout::Node const&, bool show_box_model = true, bool show_specified_style = false); void dump_sheet(StringBuilder&, CSS::StyleSheet const&); void dump_sheet(CSS::StyleSheet const&); void dump_rule(StringBuilder&, CSS::CSSRule const&, int indent_levels = 0);