mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
style: Ensure all lonhands have a working clone(), and to_css.
This removes some dubious font-family code too. It ensures that vector longhands have a proper clone implementation auto-generating it using `collect()`. Bug: 1461296 Reviewed-by: xidorn MozReview-Commit-ID: FkdnbTkeF6E
This commit is contained in:
parent
ce62cb1ba7
commit
a6328ba3ce
4 changed files with 64 additions and 22 deletions
|
@ -401,6 +401,7 @@ macro_rules! impl_to_css_for_predefined_type {
|
|||
}
|
||||
|
||||
impl_to_css_for_predefined_type!(f32);
|
||||
impl_to_css_for_predefined_type!(i8);
|
||||
impl_to_css_for_predefined_type!(i32);
|
||||
impl_to_css_for_predefined_type!(u16);
|
||||
impl_to_css_for_predefined_type!(u32);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue