Propagate up the right bits of style damage

The call to propagate_up was lost in eb1b40db13.
This commit is contained in:
Keegan McAllister 2013-12-10 13:11:13 -08:00
parent 6679baadef
commit c3c87e3d44

View file

@ -100,7 +100,7 @@ impl PostorderFlowTraversal for ComputeDamageTraversal {
fn process(&mut self, flow: &mut Flow) -> bool {
let mut damage = flow::base(flow).restyle_damage;
for child in flow::child_iter(flow) {
damage.union_in_place(flow::base(*child).restyle_damage)
damage.union_in_place(flow::base(*child).restyle_damage.propagate_up())
}
flow::mut_base(flow).restyle_damage = damage;
true