layout: Make transform changes require incremental repaint.

The progress bar in browser.html was only accidentally working before,
so actually making use of `REPAINT` makes it stop working without this
change.
This commit is contained in:
Patrick Walton 2016-03-16 14:53:43 -07:00
parent e95368df62
commit 21ea8eef19

View file

@ -167,7 +167,8 @@ pub fn compute_damage(old: Option<&Arc<ComputedValues>>, new: &ComputedValues) -
[ REPAINT ], [
get_color.color, get_background.background_color,
get_border.border_top_color, get_border.border_right_color,
get_border.border_bottom_color, get_border.border_left_color
get_border.border_bottom_color, get_border.border_left_color,
get_effects.transform
]);
add_if_not_equal!(old, new, damage,