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:
Hiroyuki Ikezoe 2017-03-27 17:33:07 +09:00
parent 0c843d4b7d
commit 4183b0dff2
9 changed files with 82 additions and 21 deletions

View file

@ -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 =