From c3c87e3d44d8e57ee0035ead33b575372fafc33f Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Tue, 10 Dec 2013 13:11:13 -0800 Subject: [PATCH] Propagate up the right bits of style damage The call to propagate_up was lost in eb1b40db13a13c27269c57bad60433e0597bbbeb. --- src/components/main/layout/layout_task.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/main/layout/layout_task.rs b/src/components/main/layout/layout_task.rs index 0ccdcfd5db0..0909cbf74df 100644 --- a/src/components/main/layout/layout_task.rs +++ b/src/components/main/layout/layout_task.rs @@ -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