From 6503717c20fe397196ffee3b501459b027225116 Mon Sep 17 00:00:00 2001 From: Hiroyuki Ikezoe Date: Fri, 3 Mar 2017 08:18:04 +0900 Subject: [PATCH] Skip animation and transition process in servo side. Otherwise they trigger their animations and transitions. We will introduce gecko's own process in bug 1341985 (animations) and bug 1341372 (transitions). --- components/style/matching.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/matching.rs b/components/style/matching.rs index dd7719bdb17..8f9ec017dbd 100644 --- a/components/style/matching.rs +++ b/components/style/matching.rs @@ -575,7 +575,7 @@ trait PrivateMatchMethods: TElement { &mut pseudo_style, &booleans); // Handle animations. - if booleans.animate { + if booleans.animate && cfg!(feature = "servo") { if let Some(ref mut old) = old_values { self.update_animations_for_cascade(shared_context, old, possibly_expired_animations);