mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
Start having animations conform to the HTML spec
This is a small step toward fixing #19242. The main idea is that the clock for animations should advance as the event loop ticks. We accomplish this by moving the clock from layout and naming it the "animation timeline" which is the spec language. This should fix flakiness with animations and transitions tests where a reflow could move animations forward while script was running. This change also starts to break out transition and animation events into their own data structure, because it's quite likely that the next step in fixing #19242 is to no longer send these events through a channel.
This commit is contained in:
parent
b585ce5b1f
commit
3a74013abc
45 changed files with 159 additions and 2094 deletions
|
@ -47,6 +47,7 @@ extern crate servo_atoms;
|
|||
#[macro_use]
|
||||
extern crate style;
|
||||
|
||||
mod animation_timeline;
|
||||
#[warn(deprecated)]
|
||||
#[macro_use]
|
||||
mod task;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue