From f01e1da01ef41d177bdaabd9672fbec200281900 Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Fri, 30 Jun 2017 14:00:12 -0700 Subject: [PATCH] Reconstruct flows if the 'clear' property changes. This is necessary because the CLEARS_LEFT and CLEARS_RIGHT flags are set during flow construction. --- components/style/servo/restyle_damage.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/servo/restyle_damage.rs b/components/style/servo/restyle_damage.rs index b113300c5a2..0d3a4b00092 100644 --- a/components/style/servo/restyle_damage.rs +++ b/components/style/servo/restyle_damage.rs @@ -202,7 +202,7 @@ fn compute_damage(old: &ServoComputedValues, new: &ServoComputedValues) -> Servo add_if_not_equal!(old, new, damage, [REPAINT, REPOSITION, STORE_OVERFLOW, BUBBLE_ISIZES, REFLOW_OUT_OF_FLOW, REFLOW, RECONSTRUCT_FLOW], [ - get_box.float, get_box.display, get_box.position, get_counters.content, + get_box.clear, get_box.float, get_box.display, get_box.position, get_counters.content, get_counters.counter_reset, get_counters.counter_increment, get_inheritedbox._servo_under_display_none, get_list.quotes, get_list.list_style_type,