style: Add CSS support for the hyphenate-character property

Differential Revision: https://phabricator.services.mozilla.com/D133889
This commit is contained in:
Jonathan Kew 2023-06-06 17:33:44 +02:00 committed by Oriol Brufau
parent 9e7b8e9202
commit da29cade57
5 changed files with 36 additions and 0 deletions

View file

@ -373,3 +373,15 @@ ${helpers.predefined_type(
animation_value_type="discrete",
spec="https://drafts.csswg.org/css-text-decor-4/#text-decoration-skip-ink-property",
)}
// hyphenation character
${helpers.predefined_type(
"hyphenate-character",
"HyphenateCharacter",
"computed::HyphenateCharacter::Auto",
engines="gecko",
gecko_pref="layout.css.hyphenate-character.enabled",
has_effect_on_gecko_scrollbars=False,
animation_value_type="discrete",
spec="https://www.w3.org/TR/css-text-4/#hyphenate-character",
)}