mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
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:
parent
14eece6f5a
commit
8149cd4a0c
2 changed files with 47 additions and 13 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue