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:
Emilio Cobos Álvarez 2018-05-14 12:40:31 +02:00
parent ce62cb1ba7
commit a6328ba3ce
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
4 changed files with 64 additions and 22 deletions

View file

@ -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);