mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
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:
parent
16cba0876d
commit
6503717c20
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue