Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use more generics and remove more code from mako files #17186

Merged
merged 4 commits into from Jun 6, 2017
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Use predefined_type for transition-delay

  • Loading branch information
nox committed Jun 6, 2017
commit bc1eef8f5e70ae8a45f204f8c7feed4e2994a29a
@@ -444,7 +444,7 @@ ${helpers.predefined_type("transition-delay",
need_index=True,
animation_value_type="none",
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"
need_index="True"
@@ -639,17 +639,16 @@ ${helpers.single_keyword("animation-fill-mode",
spec="https://drafts.csswg.org/css-animations/#propdef-animation-fill-mode",
allowed_in_keyframe_block=False)}

<%helpers:vector_longhand name="animation-delay"
need_index="True"
${helpers.predefined_type("animation-delay",
"Time",
"computed::Time::zero()",
initial_specified_value="specified::Time::zero()",
vector=True,
need_index=True,
animation_value_type="none",
extra_prefixes="moz webkit",
spec="https://drafts.csswg.org/css-animations/#propdef-animation-delay",
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>
allowed_in_keyframe_block=False)}

<%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)">
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.