Skip to content

Commit

Permalink
Reconstruct flows if the 'clear' property changes.
Browse files Browse the repository at this point in the history
This is necessary because the CLEARS_LEFT and CLEARS_RIGHT flags are set
during flow construction.
  • Loading branch information
mbrubeck committed Jul 1, 2017
1 parent a9fea06 commit f01e1da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/style/servo/restyle_damage.rs
Expand Up @@ -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,
Expand Down

0 comments on commit f01e1da

Please sign in to comment.