diff --git a/components/style/properties/data.py b/components/style/properties/data.py index 53512adb22d..1ad523bd905 100644 --- a/components/style/properties/data.py +++ b/components/style/properties/data.py @@ -628,7 +628,7 @@ def _remove_common_first_line_and_first_letter_properties(props): props.remove("text-emphasis-color") props.remove("text-indent") props.remove("text-decoration-skip-ink") - props.remove("text-decoration-width") + props.remove("text-decoration-thickness") props.remove("text-underline-offset") diff --git a/components/style/properties/longhands/text.mako.rs b/components/style/properties/longhands/text.mako.rs index 0e741774837..06db3307238 100644 --- a/components/style/properties/longhands/text.mako.rs +++ b/components/style/properties/longhands/text.mako.rs @@ -66,11 +66,11 @@ ${helpers.predefined_type( )} ${helpers.predefined_type( - "text-decoration-width", + "text-decoration-thickness", "LengthOrAuto", "computed::LengthOrAuto::auto()", products="gecko", animation_value_type="ComputedValue", - gecko_pref="layout.css.text-decoration-width.enabled", + gecko_pref="layout.css.text-decoration-thickness.enabled", spec="https://drafts.csswg.org/css-text-decor-4/#text-decoration-width-property" )}