Don't call process_animations during animation-only restyles.

This commit is contained in:
Hiroyuki Ikezoe 2017-04-11 16:32:11 +09:00
parent c316594bd3
commit 27405bd0b6

View file

@ -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,