aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/animation.rs
diff options
context:
space:
mode:
authorbors-servo <servo-ops@mozilla.com>2020-04-01 15:19:15 -0400
committerGitHub <noreply@github.com>2020-04-01 15:19:15 -0400
commit516279e24f3d77e0050aeeed17ef24c9701edc1a (patch)
treef469887f1532704aaca28715b4d897cc3b69e9b6 /components/layout/animation.rs
parentaf1ebe79efd799498010f196983a233aa5203d64 (diff)
parent2bb6ab4567802c3b77ee8a926ea55daf60ff441a (diff)
downloadservo-516279e24f3d77e0050aeeed17ef24c9701edc1a.tar.gz
servo-516279e24f3d77e0050aeeed17ef24c9701edc1a.zip
Auto merge of #26074 - jdm:transition-fix, r=SimonSapin
Avoid infinitely looping CSS transitions. This change addresses the long-standing issue of CSS transitions not ending appropriately. It does not fundamentally change the way we process transitions/animations. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #20379 - [x] There are tests for these changes
Diffstat (limited to 'components/layout/animation.rs')
-rw-r--r--components/layout/animation.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/layout/animation.rs b/components/layout/animation.rs
index 96e4801fa4e..8a99a75fc72 100644
--- a/components/layout/animation.rs
+++ b/components/layout/animation.rs
@@ -110,6 +110,7 @@ pub fn update_animation_state<E>(
.unwrap();
}
+ debug!("expiring animation for {:?}", running_animation);
expired_animations
.entry(*key)
.or_insert_with(Vec::new)