mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:38:11 +00:00
LibWeb: Make layout tree dumps nicer
This patch removes a bunch of the less generally useful information from layout tree dumps and puts it behind some optional bool params. We also show layout units as integers instead of floats for now, since fractional layout almost never happen anyway (yet) and this makes it much easier to read.
This commit is contained in:
parent
17e25890be
commit
5b0deba49c
2 changed files with 59 additions and 52 deletions
|
@ -31,7 +31,7 @@
|
|||
namespace Web {
|
||||
|
||||
void dump_tree(const DOM::Node&);
|
||||
void dump_tree(const Layout::Node&);
|
||||
void dump_tree(const Layout::Node&, bool show_box_model = false, bool show_specified_style = false);
|
||||
void dump_sheet(const CSS::StyleSheet&);
|
||||
void dump_rule(const CSS::StyleRule&);
|
||||
void dump_selector(const CSS::Selector&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue