mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +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::longhands::font_variant_caps::computed_value::T as FontVariantCaps;
|
||||||
use style::properties::style_structs::Font as FontStyleStruct;
|
use style::properties::style_structs::Font as FontStyleStruct;
|
||||||
use style::values::computed::font::{
|
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::computed::font::{FontStretch, FontWeight, SingleFontFamily};
|
||||||
use style::values::generics::font::FontStyle;
|
use style::values::generics::font::FontStyle;
|
||||||
|
@ -114,7 +114,7 @@ fn font_family(names: Vec<&str>) -> FontFamily {
|
||||||
.map(|name| {
|
.map(|name| {
|
||||||
SingleFontFamily::FamilyName(FamilyName {
|
SingleFontFamily::FamilyName(FamilyName {
|
||||||
name: Atom::from(name),
|
name: Atom::from(name),
|
||||||
syntax: FamilyNameSyntax::Quoted,
|
syntax: FontFamilyNameSyntax::Quoted,
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
.collect();
|
.collect();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue