From 21ea8eef1957f62c6a922d69a0f906bbd2e255dd Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Wed, 16 Mar 2016 14:53:43 -0700 Subject: [PATCH] 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. --- components/layout/incremental.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/layout/incremental.rs b/components/layout/incremental.rs index 362ec2a472c..7b5838ea19a 100644 --- a/components/layout/incremental.rs +++ b/components/layout/incremental.rs @@ -167,7 +167,8 @@ pub fn compute_damage(old: Option<&Arc>, 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,