mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
stylo: Add basic system font support, use for font-size and font-family
This commit is contained in:
parent
2b5c17c43a
commit
c1c4c8fa59
9 changed files with 261 additions and 11 deletions
|
@ -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)]))));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue