mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Merge pull request #3459 from glennw/small-caps
Add support for small-caps font-variant.
This commit is contained in:
commit
98222cf24c
7 changed files with 37 additions and 14 deletions
|
@ -309,6 +309,7 @@ pub fn computed_style_to_font_style(style: &ComputedValues) -> FontStyle {
|
|||
pt_size: font_size,
|
||||
weight: style.get_font().font_weight,
|
||||
style: style.get_font().font_style,
|
||||
variant: style.get_font().font_variant,
|
||||
families: font_families.collect(),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue