mirror of
https://github.com/servo/servo.git
synced 2025-10-02 09:39:14 +01:00
Add ElementAnimationState and PossibleElementAnimationState
This refactor is preparation for implementing a specification compliant transitions and animations processing model. These data structures hold all the animation information about a single node. Since adding, updating, and modifying animations for a single node are all interdependent, it makes sense to start encapsulating animation data and functionality into a single data structure. This also opens up the possibility for easier concurrency in the future by more easily allowing per-node mutexes.
This commit is contained in:
parent
5504d9259d
commit
8f988be18a
9 changed files with 332 additions and 454 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -5412,7 +5412,6 @@ dependencies = [
|
|||
"bindgen",
|
||||
"bitflags",
|
||||
"byteorder",
|
||||
"crossbeam-channel",
|
||||
"cssparser",
|
||||
"derive_more",
|
||||
"encoding_rs",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue