mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Don't call process_animations during animation-only restyles.
This commit is contained in:
parent
c316594bd3
commit
27405bd0b6
1 changed files with 1 additions and 1 deletions
|
@ -433,7 +433,7 @@ trait PrivateMatchMethods: TElement {
|
|||
&pseudo_style);
|
||||
|
||||
// Handle animations.
|
||||
if animate {
|
||||
if animate && !context.shared.traversal_flags.for_animation_only() {
|
||||
self.process_animations(context,
|
||||
&mut old_values,
|
||||
&mut new_values,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue