From 6bc1b97a6cb5e617479a0e679c2c5cc8c5abc22a Mon Sep 17 00:00:00 2001 From: Charlie Marlow Date: Fri, 19 Jul 2019 16:33:08 +0000 Subject: [PATCH] style: renamed text-decoration-width to text-decoration-thickness. Differential Revision: https://phabricator.services.mozilla.com/D38586 --- components/style/properties/data.py | 2 +- components/style/properties/longhands/text.mako.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/style/properties/data.py b/components/style/properties/data.py index 53512adb22db..1ad523bd905c 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 0e7417748372..06db33072388 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" )}