style: adding from-font support to text-underline-offset and text-decoration-thickness.

Differential Revision: https://phabricator.services.mozilla.com/D41476
This commit is contained in:
Charlie Marlow 2019-08-13 17:43:25 +00:00 committed by Emilio Cobos Álvarez
parent 566f1ea600
commit cf7b0e13b6
No known key found for this signature in database
GPG key ID: E1152D0994E4BF8A
7 changed files with 59 additions and 9 deletions

View file

@ -382,8 +382,8 @@ ${helpers.single_keyword(
// text underline offset
${helpers.predefined_type(
"text-underline-offset",
"LengthOrAuto",
"computed::LengthOrAuto::auto()",
"TextDecorationLength",
"generics::text::GenericTextDecorationLength::Auto",
engines="gecko",
animation_value_type="ComputedValue",
gecko_pref="layout.css.text-underline-offset.enabled",

View file

@ -71,10 +71,10 @@ ${helpers.predefined_type(
${helpers.predefined_type(
"text-decoration-thickness",
"LengthOrAuto",
"computed::LengthOrAuto::auto()",
"TextDecorationLength",
"generics::text::GenericTextDecorationLength::Auto",
engines="gecko",
initial_specified_value="specified::LengthOrAuto::auto()",
initial_specified_value="generics::text::GenericTextDecorationLength::Auto",
animation_value_type="ComputedValue",
gecko_pref="layout.css.text-decoration-thickness.enabled",
spec="https://drafts.csswg.org/css-text-decor-4/#text-decoration-width-property"