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:
Jonathan Kew 2019-12-04 11:39:15 +00:00 committed by Emilio Cobos Álvarez
parent 3bd62cf0cd
commit 51c1dfee2d
No known key found for this signature in database
GPG key ID: E1152D0994E4BF8A
7 changed files with 113 additions and 2 deletions

View file

@ -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",