mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Enabled use of FontFamily enum type and replaced plain string parameters with enum
This commit is contained in:
parent
2a3a7a73b5
commit
d942bfb474
5 changed files with 122 additions and 89 deletions
|
@ -325,7 +325,7 @@ impl LayoutElementHelpers for LayoutJS<Element> {
|
|||
PropertyDeclaration::FontFamily(
|
||||
DeclaredValue::Value(
|
||||
font_family::computed_value::T(vec![
|
||||
font_family::computed_value::FontFamily::FamilyName(
|
||||
font_family::computed_value::FontFamily::from_atom(
|
||||
font_family)])))));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue