Do not use CVAS for FontSettings<T>

This commit is contained in:
Anthony Ramine 2017-09-11 16:48:20 +02:00
parent def983c295
commit bf034a83e8
4 changed files with 8 additions and 11 deletions

View file

@ -316,7 +316,7 @@
% if not property.derived_from:
match value {
DeclaredValue::Value(ref specified_value) => {
DeclaredValue::Value(specified_value) => {
% if property.ident in SYSTEM_FONT_LONGHANDS and product == "gecko":
if let Some(sf) = specified_value.get_system() {
longhands::system_font::resolve_system_font(sf, context);