mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Introduce UpdateAnimationTasks to perform a bunch of animation's tasks in a SequentialTask.
The UpdateAnimationsTasks is a bitflags and each bit is generated from Gecko's UpdateAnimationsTasks (enum class) values for matching values between C++ and Rust. For this reason, the bitflags is annotated as (feature = "gecko"), as a result update_animations() which uses this bitflags also became gecko-only function.
This commit is contained in:
parent
0c843d4b7d
commit
4183b0dff2
9 changed files with 82 additions and 21 deletions
|
@ -6151,6 +6151,19 @@ pub mod root {
|
|||
Normal = 0,
|
||||
UnstyledChildrenOnly = 1,
|
||||
}
|
||||
pub const UpdateAnimationsTasks_CSSAnimations:
|
||||
root::mozilla::UpdateAnimationsTasks =
|
||||
1;
|
||||
pub const UpdateAnimationsTasks_CSSTransitions:
|
||||
root::mozilla::UpdateAnimationsTasks =
|
||||
2;
|
||||
pub const UpdateAnimationsTasks_EffectProperties:
|
||||
root::mozilla::UpdateAnimationsTasks =
|
||||
4;
|
||||
pub const UpdateAnimationsTasks_CascadeResults:
|
||||
root::mozilla::UpdateAnimationsTasks =
|
||||
8;
|
||||
pub type UpdateAnimationsTasks = u8;
|
||||
pub type CSSPseudoElementTypeBase = u8;
|
||||
pub const CSSPseudoElementType_InheritingAnonBox:
|
||||
root::mozilla::CSSPseudoElementType =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue