1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:07:45 +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:
Andreas Kling 2022-03-02 22:14:44 +01:00
parent ae2591657d
commit ed44f9e290
2 changed files with 2 additions and 2 deletions

View file

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