mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
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:
parent
566f1ea600
commit
cf7b0e13b6
7 changed files with 59 additions and 9 deletions
|
@ -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",
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue