mirror of
https://github.com/servo/servo.git
synced 2025-10-02 09:39:14 +01:00
Auto merge of #26285 - mrobinson:animation-animation-state, r=jdm,emilio
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. <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because they should not change behavior. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
This commit is contained in:
commit
0540c4a284
9 changed files with 332 additions and 454 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -5422,7 +5422,6 @@ dependencies = [
|
|||
"bindgen",
|
||||
"bitflags",
|
||||
"byteorder",
|
||||
"crossbeam-channel",
|
||||
"cssparser",
|
||||
"derive_more",
|
||||
"encoding_rs",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue