mirror of
https://github.com/servo/servo.git
synced 2025-06-22 16:18:59 +01:00
Print restyle damage for debugging
This commit is contained in:
parent
c3c87e3d44
commit
dd0bb08927
1 changed files with 1 additions and 0 deletions
|
@ -120,6 +120,7 @@ impl PreorderFlowTraversal for PropagateDamageTraversal {
|
||||||
if self.all_style_damage {
|
if self.all_style_damage {
|
||||||
flow::mut_base(flow).restyle_damage.union_in_place(RestyleDamage::all())
|
flow::mut_base(flow).restyle_damage.union_in_place(RestyleDamage::all())
|
||||||
}
|
}
|
||||||
|
debug!("restyle damage = {:?}", flow::base(flow).restyle_damage);
|
||||||
|
|
||||||
let prop = flow::base(flow).restyle_damage.propagate_down();
|
let prop = flow::base(flow).restyle_damage.propagate_down();
|
||||||
if prop.is_nonempty() {
|
if prop.is_nonempty() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue