mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
style: Move animation-iteration-count outside of mako.
This commit is contained in:
parent
2536e1ee98
commit
dc414134bf
9 changed files with 80 additions and 66 deletions
|
@ -46,3 +46,12 @@ impl<L> ToAnimatedZero for VerticalAlign<L> {
|
|||
Err(())
|
||||
}
|
||||
}
|
||||
|
||||
/// https://drafts.csswg.org/css-animations/#animation-iteration-count
|
||||
#[derive(Clone, Debug, MallocSizeOf, PartialEq, ToComputedValue, ToCss)]
|
||||
pub enum AnimationIterationCount<Number> {
|
||||
/// A `<number>` value.
|
||||
Number(Number),
|
||||
/// The `infinite` keyword.
|
||||
Infinite,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue