style: added text-decoration-width support to style system.

from-font support will be added later

Differential Revision: https://phabricator.services.mozilla.com/D33392
This commit is contained in:
Charlie Marlow 2019-06-06 17:12:22 +00:00 committed by Emilio Cobos Álvarez
parent 3980dc31cd
commit b70a9fe564
No known key found for this signature in database
GPG key ID: E1152D0994E4BF8A

View file

@ -69,3 +69,13 @@ ${helpers.predefined_type(
gecko_pref="layout.css.initial-letter.enabled",
spec="https://drafts.csswg.org/css-inline/#sizing-drop-initials",
)}
${helpers.predefined_type(
"text-decoration-width",
"LengthOrAuto",
"computed::LengthOrAuto::auto()",
products="gecko",
animation_value_type="ComputedValue",
gecko_pref="layout.css.text-decoration-width.enabled",
spec="https://drafts.csswg.org/css-text-decor-4/#text-decoration-width-property"
)}