From dea58fc0bb7ab4eb02751ccd211006d0e86bb661 Mon Sep 17 00:00:00 2001 From: Charlie Marlow Date: Wed, 14 Aug 2019 16:46:18 +0000 Subject: [PATCH] Bug 1573725: turn on the pref for text-decoration-thickness on by default (in early-beta and earlier) r=dholbert Differential Revision: https://phabricator.services.mozilla.com/D41883 --HG-- extra : moz-landing-system : lando --- devtools/shared/css/generated/properties-db.js | 14 ++++++++++++++ modules/libpref/init/StaticPrefList.yaml | 2 +- .../parsing/text-decoration-invalid.html | 3 --- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/devtools/shared/css/generated/properties-db.js b/devtools/shared/css/generated/properties-db.js index 3dd78edea593..b2463ce3e9fe 100644 --- a/devtools/shared/css/generated/properties-db.js +++ b/devtools/shared/css/generated/properties-db.js @@ -9989,6 +9989,20 @@ exports.CSS_PROPERTIES = { "wavy" ] }, + "text-decoration-thickness": { + "isInherited": false, + "subproperties": [ + "text-decoration-thickness" + ], + "supports": [], + "values": [ + "auto", + "inherit", + "initial", + "revert", + "unset" + ] + }, "text-emphasis": { "isInherited": true, "subproperties": [ diff --git a/modules/libpref/init/StaticPrefList.yaml b/modules/libpref/init/StaticPrefList.yaml index 60aa6e189162..f2e52088b701 100644 --- a/modules/libpref/init/StaticPrefList.yaml +++ b/modules/libpref/init/StaticPrefList.yaml @@ -4062,7 +4062,7 @@ # text decoration thickness - name: layout.css.text-decoration-thickness.enabled type: bool - value: false + value: @IS_EARLY_BETA_OR_EARLIER@ mirror: always # text decoration skip ink diff --git a/testing/web-platform/tests/css/css-text-decor/parsing/text-decoration-invalid.html b/testing/web-platform/tests/css/css-text-decor/parsing/text-decoration-invalid.html index 90095c0114f0..9cba2423206f 100644 --- a/testing/web-platform/tests/css/css-text-decor/parsing/text-decoration-invalid.html +++ b/testing/web-platform/tests/css/css-text-decor/parsing/text-decoration-invalid.html @@ -7,9 +7,6 @@