mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
style: Simplify generation of need_clone methods in servo
This commit is contained in:
parent
bc4e670c5a
commit
07da4e4ea2
2 changed files with 19 additions and 79 deletions
|
@ -599,7 +599,8 @@ ${helpers.single_keyword("overflow-x", "visible hidden scroll auto",
|
|||
pub use properties::longhands::transition_duration::{get_initial_value, parse, parse_one};
|
||||
</%helpers:longhand>
|
||||
|
||||
<%helpers:longhand name="animation-name" animatable="False">
|
||||
<%helpers:longhand name="animation-name"
|
||||
animatable="False">
|
||||
use values::computed::ComputedValueAsSpecified;
|
||||
|
||||
pub mod computed_value {
|
||||
|
@ -645,13 +646,15 @@ ${helpers.single_keyword("overflow-x", "visible hidden scroll auto",
|
|||
impl ComputedValueAsSpecified for SpecifiedValue {}
|
||||
</%helpers:longhand>
|
||||
|
||||
<%helpers:longhand name="animation-duration" animatable="False">
|
||||
<%helpers:longhand name="animation-duration"
|
||||
animatable="False">
|
||||
pub use super::transition_duration::computed_value;
|
||||
pub use super::transition_duration::{parse, get_initial_value};
|
||||
pub use super::transition_duration::SpecifiedValue;
|
||||
</%helpers:longhand>
|
||||
|
||||
<%helpers:longhand name="animation-timing-function" animatable="False">
|
||||
<%helpers:longhand name="animation-timing-function"
|
||||
animatable="False">
|
||||
pub use super::transition_timing_function::computed_value;
|
||||
pub use super::transition_timing_function::{parse, get_initial_value};
|
||||
pub use super::transition_timing_function::SpecifiedValue;
|
||||
|
@ -739,7 +742,8 @@ ${helpers.keyword_list("animation-fill-mode",
|
|||
"none forwards backwards both",
|
||||
animatable=False)}
|
||||
|
||||
<%helpers:longhand name="animation-delay" animatable="False">
|
||||
<%helpers:longhand name="animation-delay"
|
||||
animatable="False">
|
||||
pub use super::transition_duration::computed_value;
|
||||
pub use super::transition_duration::{parse, get_initial_value};
|
||||
pub use super::transition_duration::SpecifiedValue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue