diff options
author | Hiroyuki Ikezoe <hikezoe@mozilla.com> | 2017-03-03 08:18:04 +0900 |
---|---|---|
committer | Hiroyuki Ikezoe <hikezoe@mozilla.com> | 2017-03-07 13:27:55 +0900 |
commit | 6503717c20fe397196ffee3b501459b027225116 (patch) | |
tree | c574fad2579cbd29d366d1fc63915669857b9ce6 | |
parent | 16cba0876df0379a62dd1c0e03ef641b39c4568b (diff) | |
download | servo-6503717c20fe397196ffee3b501459b027225116.tar.gz servo-6503717c20fe397196ffee3b501459b027225116.zip |
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).
-rw-r--r-- | components/style/matching.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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); |