mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Fix gfx unit tests.
This commit is contained in:
parent
a1d224b823
commit
6377855526
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ use std::rc::Rc;
|
|||
use style::properties::longhands::font_variant_caps::computed_value::T as FontVariantCaps;
|
||||
use style::properties::style_structs::Font as FontStyleStruct;
|
||||
use style::values::computed::font::{
|
||||
FamilyName, FamilyNameSyntax, FontFamily, FontFamilyList, FontSize,
|
||||
FamilyName, FontFamily, FontFamilyList, FontFamilyNameSyntax, FontSize,
|
||||
};
|
||||
use style::values::computed::font::{FontStretch, FontWeight, SingleFontFamily};
|
||||
use style::values::generics::font::FontStyle;
|
||||
|
@ -114,7 +114,7 @@ fn font_family(names: Vec<&str>) -> FontFamily {
|
|||
.map(|name| {
|
||||
SingleFontFamily::FamilyName(FamilyName {
|
||||
name: Atom::from(name),
|
||||
syntax: FamilyNameSyntax::Quoted,
|
||||
syntax: FontFamilyNameSyntax::Quoted,
|
||||
})
|
||||
})
|
||||
.collect();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue