mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
style: Add support for parsing of the CSS text-underline-position property.
Differential Revision: https://phabricator.services.mozilla.com/D54722
This commit is contained in:
parent
3bd62cf0cd
commit
51c1dfee2d
7 changed files with 113 additions and 2 deletions
|
@ -391,6 +391,18 @@ ${helpers.predefined_type(
|
|||
spec="https://drafts.csswg.org/css-text-decor-4/#underline-offset",
|
||||
)}
|
||||
|
||||
// text underline position
|
||||
${helpers.predefined_type(
|
||||
"text-underline-position",
|
||||
"TextUnderlinePosition",
|
||||
"computed::TextUnderlinePosition::AUTO",
|
||||
engines="gecko",
|
||||
animation_value_type="discrete",
|
||||
gecko_pref="layout.css.text-underline-position.enabled",
|
||||
has_effect_on_gecko_scrollbars=False,
|
||||
spec="https://drafts.csswg.org/css-text-decor-3/#text-underline-position-property",
|
||||
)}
|
||||
|
||||
// text decoration skip ink
|
||||
${helpers.predefined_type(
|
||||
"text-decoration-skip-ink",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue