mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
style: Add CSS support for the hyphenate-character property
Differential Revision: https://phabricator.services.mozilla.com/D133889
This commit is contained in:
parent
9e7b8e9202
commit
da29cade57
5 changed files with 36 additions and 0 deletions
|
@ -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",
|
||||
)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue