mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Fix image_dynamic_remove reftest with incremental layout turned out
This also adds some extra debugging infrastructure which I found useful tracking this bug down. A regression in the br reftests is also uncovered by this patch, which I'll work on fixing next. r? @pcwalton
This commit is contained in:
parent
a1efb79cf4
commit
2faf5b270f
16 changed files with 96 additions and 41 deletions
|
@ -212,9 +212,9 @@ impl<'a> PostorderDomTraversal for ConstructFlows<'a> {
|
|||
|
||||
if node.has_dirty_descendants() {
|
||||
tnode.set_restyle_damage(RestyleDamage::all());
|
||||
debug!("Constructing flow for {}", tnode.debug_id());
|
||||
let mut flow_constructor = FlowConstructor::new(self.layout_context);
|
||||
flow_constructor.process(&tnode);
|
||||
debug!("Constructed flow for {:x}: {:x}", tnode.debug_id(), tnode.flow_debug_id());
|
||||
}
|
||||
|
||||
// Reset the layout damage in this node. It's been propagated to the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue