style: Make 'font' shorthand reset the 'font-variation-settings' property.

As required by the spec: https://drafts.csswg.org/css-fonts-4/#font-prop

See https://bugzilla.mozilla.org/show_bug.cgi?id=1435983

Basically, make font-variation-settings work in the same way as font-feature-settings
already does.
This commit is contained in:
Jonathan Kew 2018-03-04 12:10:22 +00:00
parent b59a8afd0f
commit 33ead015b1
7 changed files with 86 additions and 13 deletions

View file

@ -19,7 +19,8 @@ SYSTEM_FONT_LONGHANDS = """font_family font_size font_style
font_size_adjust font_variant_alternates
font_variant_ligatures font_variant_east_asian
font_variant_numeric font_language_override
font_feature_settings font_optical_sizing""".split()
font_feature_settings font_variation_settings
font_optical_sizing""".split()
def maybe_moz_logical_alias(product, side, prop):