mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Use predefined_type for transition-delay
This commit is contained in:
parent
8912a594c7
commit
bc1eef8f5e
1 changed files with 8 additions and 9 deletions
|
@ -444,7 +444,7 @@ ${helpers.predefined_type("transition-delay",
|
||||||
need_index=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-transitions/#propdef-transition-duration")}
|
spec="https://drafts.csswg.org/css-transitions/#propdef-transition-delay")}
|
||||||
|
|
||||||
<%helpers:vector_longhand name="animation-name"
|
<%helpers:vector_longhand name="animation-name"
|
||||||
need_index="True"
|
need_index="True"
|
||||||
|
@ -639,17 +639,16 @@ ${helpers.single_keyword("animation-fill-mode",
|
||||||
spec="https://drafts.csswg.org/css-animations/#propdef-animation-fill-mode",
|
spec="https://drafts.csswg.org/css-animations/#propdef-animation-fill-mode",
|
||||||
allowed_in_keyframe_block=False)}
|
allowed_in_keyframe_block=False)}
|
||||||
|
|
||||||
<%helpers:vector_longhand name="animation-delay"
|
${helpers.predefined_type("animation-delay",
|
||||||
need_index="True"
|
"Time",
|
||||||
|
"computed::Time::zero()",
|
||||||
|
initial_specified_value="specified::Time::zero()",
|
||||||
|
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-delay",
|
spec="https://drafts.csswg.org/css-animations/#propdef-animation-delay",
|
||||||
allowed_in_keyframe_block="False">
|
allowed_in_keyframe_block=False)}
|
||||||
pub use properties::longhands::transition_delay::single_value::computed_value;
|
|
||||||
pub use properties::longhands::transition_delay::single_value::get_initial_specified_value;
|
|
||||||
pub use properties::longhands::transition_delay::single_value::{get_initial_value, parse};
|
|
||||||
pub use properties::longhands::transition_delay::single_value::SpecifiedValue;
|
|
||||||
</%helpers:vector_longhand>
|
|
||||||
|
|
||||||
<%helpers:longhand products="gecko" name="scroll-snap-points-y" animation_value_type="none"
|
<%helpers:longhand products="gecko" name="scroll-snap-points-y" animation_value_type="none"
|
||||||
spec="Nonstandard (https://www.w3.org/TR/2015/WD-css-snappoints-1-20150326/#scroll-snap-points)">
|
spec="Nonstandard (https://www.w3.org/TR/2015/WD-css-snappoints-1-20150326/#scroll-snap-points)">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue