mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Format style component.
This commit is contained in:
parent
31fc6cd565
commit
8dab4d659a
120 changed files with 2207 additions and 1417 deletions
|
@ -88,7 +88,7 @@ macro_rules! descriptor_range_conversion {
|
|||
None => {
|
||||
nscssvalue.set_from(first);
|
||||
return;
|
||||
}
|
||||
},
|
||||
Some(ref second) => second,
|
||||
};
|
||||
|
||||
|
@ -101,7 +101,7 @@ macro_rules! descriptor_range_conversion {
|
|||
nscssvalue.set_pair(&a, &b);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
descriptor_range_conversion!(FontWeight);
|
||||
|
@ -120,7 +120,7 @@ impl<'a> ToNsCssValue for &'a FontStyle {
|
|||
b.set_font_style(SpecifiedFontStyle::compute_angle(second).degrees());
|
||||
|
||||
nscssvalue.set_pair(&a, &b);
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue