mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Use predefined_type for animation-timing-function
This commit is contained in:
parent
65356b13f8
commit
8912a594c7
1 changed files with 9 additions and 11 deletions
|
@ -528,18 +528,16 @@ ${helpers.predefined_type("animation-duration",
|
||||||
extra_prefixes="moz webkit",
|
extra_prefixes="moz webkit",
|
||||||
spec="https://drafts.csswg.org/css-transitions/#propdef-transition-duration")}
|
spec="https://drafts.csswg.org/css-transitions/#propdef-transition-duration")}
|
||||||
|
|
||||||
<%helpers:vector_longhand name="animation-timing-function"
|
${helpers.predefined_type("animation-timing-function",
|
||||||
need_index="True"
|
"TimingFunction",
|
||||||
|
"computed::TimingFunction::ease()",
|
||||||
|
initial_specified_value="specified::TimingFunction::ease()",
|
||||||
|
vector=True,
|
||||||
|
need_index=True,
|
||||||
animation_value_type="none",
|
animation_value_type="none",
|
||||||
extra_prefixes="moz webkit"
|
extra_prefixes="moz webkit",
|
||||||
spec="https://drafts.csswg.org/css-animations/#propdef-animation-timing-function",
|
allowed_in_keyframe_block=True,
|
||||||
allowed_in_keyframe_block="True">
|
spec="https://drafts.csswg.org/css-transitions/#propdef-animation-timing-function")}
|
||||||
pub use properties::longhands::transition_timing_function::single_value::computed_value;
|
|
||||||
pub use properties::longhands::transition_timing_function::single_value::get_initial_value;
|
|
||||||
pub use properties::longhands::transition_timing_function::single_value::get_initial_specified_value;
|
|
||||||
pub use properties::longhands::transition_timing_function::single_value::parse;
|
|
||||||
pub use properties::longhands::transition_timing_function::single_value::SpecifiedValue;
|
|
||||||
</%helpers:vector_longhand>
|
|
||||||
|
|
||||||
<%helpers:vector_longhand name="animation-iteration-count"
|
<%helpers:vector_longhand name="animation-iteration-count"
|
||||||
need_index="True"
|
need_index="True"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue