style: Add support for the CSS font-variant-emoji property to the style system

Differential Revision: https://phabricator.services.mozilla.com/D147494
This commit is contained in:
Jonathan Kew 2022-10-22 09:43:48 +00:00 committed by Martin Robinson
parent 14eece6f5a
commit 8149cd4a0c
2 changed files with 47 additions and 13 deletions

View file

@ -130,6 +130,18 @@ ${helpers.predefined_type(
spec="https://drafts.csswg.org/css-fonts/#propdef-font-variant-east-asian",
)}
${helpers.single_keyword(
"font-variant-emoji",
"normal text emoji unicode",
engines="gecko",
gecko_pref="layout.css.font-variant-emoji.enabled",
has_effect_on_gecko_scrollbars=False,
gecko_enum_prefix="StyleFontVariantEmoji",
gecko_ffi_name="mFont.variantEmoji",
spec="https://drafts.csswg.org/css-fonts/#propdef-font-variant-emoji",
animation_value_type="discrete",
)}
${helpers.predefined_type(
"font-variant-ligatures",
"FontVariantLigatures",