mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Avoid infinitely looping CSS transitions.
This commit is contained in:
parent
236762880c
commit
2bb6ab4567
6 changed files with 61 additions and 20 deletions
|
@ -607,7 +607,12 @@ trait PrivateMatchMethods: TElement {
|
|||
|
||||
// Finish any expired transitions.
|
||||
let this_opaque = self.as_node().opaque();
|
||||
animation::complete_expired_transitions(this_opaque, style, context);
|
||||
animation::complete_expired_transitions(
|
||||
this_opaque,
|
||||
style,
|
||||
context,
|
||||
possibly_expired_animations,
|
||||
);
|
||||
|
||||
// Merge any running animations into the current style, and cancel them.
|
||||
let had_running_animations = context
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue