mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Add a flag to dump the computed style values
I used this to trace #11818 to a style bug, rather than a layout bug.
This commit is contained in:
parent
a22913569c
commit
748a573917
4 changed files with 48 additions and 0 deletions
|
@ -1187,6 +1187,10 @@ impl LayoutThread {
|
|||
self.root_flow = self.try_get_layout_root(node);
|
||||
}
|
||||
|
||||
if opts::get().dump_style_tree {
|
||||
node.dump_style();
|
||||
}
|
||||
|
||||
// Perform post-style recalculation layout passes.
|
||||
self.perform_post_style_recalc_layout_passes(&data.reflow_info,
|
||||
&mut rw_data,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue