Merge pull request #3459 from glennw/small-caps

Add support for small-caps font-variant.
This commit is contained in:
glennw 2014-09-24 09:49:05 +10:00
commit 98222cf24c
7 changed files with 37 additions and 14 deletions

View file

@ -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(),
}
}