mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Further changes required by Servo
This commit is contained in:
parent
dcafbde256
commit
105050d46d
9 changed files with 72 additions and 88 deletions
|
@ -1779,7 +1779,7 @@ fn serialize_font<W>(style: &Font, dest: &mut W) -> fmt::Result
|
|||
where
|
||||
W: fmt::Write,
|
||||
{
|
||||
if style.font_style == FontStyle::Italic {
|
||||
if style.font_style == FontStyle::ITALIC {
|
||||
write!(dest, "{} ", style.font_style.to_css_string())?;
|
||||
}
|
||||
if style.font_weight.is_bold() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue