mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
stylo: Add basic system font support, use for font-size and font-family
This commit is contained in:
parent
2b353e04f0
commit
2c5ac9fc2d
9 changed files with 260 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