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).
This commit is contained in:
Hiroyuki Ikezoe 2017-03-03 08:18:04 +09:00
parent 16cba0876d
commit 6503717c20

View file

@ -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);