diff options
author | Manish Goregaokar <manishearth@gmail.com> | 2017-03-21 20:38:12 -0700 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2017-04-21 14:53:09 -0700 |
commit | c1c4c8fa59a7bde313beba62b6251ab9df5e6002 (patch) | |
tree | 9ed0f2ff3945afe961f7950ac7bf984814d8cede /components/script/dom | |
parent | 2b5c17c43a517b6d6bd981f5fa905536dddd3beb (diff) | |
download | servo-c1c4c8fa59a7bde313beba62b6251ab9df5e6002.tar.gz servo-c1c4c8fa59a7bde313beba62b6251ab9df5e6002.zip |
stylo: Add basic system font support, use for font-size and font-family
Diffstat (limited to 'components/script/dom')
-rw-r--r-- | components/script/dom/element.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/element.rs b/components/script/dom/element.rs index 110a54511d3..aafee25867c 100644 --- a/components/script/dom/element.rs +++ b/components/script/dom/element.rs @@ -468,7 +468,7 @@ impl LayoutElementHelpers for LayoutJS<Element> { hints.push(from_declaration( shared_lock, PropertyDeclaration::FontFamily( - font_family::computed_value::T(vec![ + font_family::SpecifiedValue::Values(vec![ font_family::computed_value::FontFamily::from_atom( font_family)])))); } |