From 9ed914653b651b297aa52fbc572040dfa0550aba Mon Sep 17 00:00:00 2001 From: Victor W Allen Date: Mon, 25 Nov 2024 10:14:51 -0800 Subject: [PATCH 1/2] Adds text stroke and fill compat feature --- features/text-stroke-fill.yml | 10 ++++++ features/text-stroke-fill.yml.dist | 56 ++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 features/text-stroke-fill.yml create mode 100644 features/text-stroke-fill.yml.dist diff --git a/features/text-stroke-fill.yml b/features/text-stroke-fill.yml new file mode 100644 index 00000000000..38e193c3ef9 --- /dev/null +++ b/features/text-stroke-fill.yml @@ -0,0 +1,10 @@ +name: Text stroke and fill +description: The `-webkit-text-stroke-width` and `-webkit-text-stroke-color` CSS properties set the thickness and color of text outlines. The `-webkit-text-fill-color` sets the color within text character outlines. Both default to the text `color`. +group: css +caniuse: text-stroke +spec: https://compat.spec.whatwg.org/#text-fill-and-stroking +compat_features: + - css.properties.-webkit-text-fill-color + - css.properties.-webkit-text-stroke + - css.properties.-webkit-text-stroke-color + - css.properties.-webkit-text-stroke-width diff --git a/features/text-stroke-fill.yml.dist b/features/text-stroke-fill.yml.dist new file mode 100644 index 00000000000..6c162a6043e --- /dev/null +++ b/features/text-stroke-fill.yml.dist @@ -0,0 +1,56 @@ +# Generated from: text-stroke-fill.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2017-04-05 + baseline_high_date: 2019-10-05 + support: + chrome: "4" + chrome_android: "18" + edge: "15" + firefox: "49" + firefox_android: "49" + safari: "3" + safari_ios: "2" +compat_features: + # baseline: high + # baseline_low_date: 2016-09-20 + # baseline_high_date: 2019-03-20 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "49" + # firefox_android: "49" + # safari: "3" + # safari_ios: "2" + - css.properties.-webkit-text-fill-color + + # baseline: high + # baseline_low_date: 2017-04-05 + # baseline_high_date: 2019-10-05 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "15" + # firefox: "49" + # firefox_android: "49" + # safari: "3" + # safari_ios: "2" + - css.properties.-webkit-text-stroke-color + - css.properties.-webkit-text-stroke-width + + # ⬇️ Same status as overall feature ⬇️ + # baseline: high + # baseline_low_date: 2017-04-05 + # baseline_high_date: 2019-10-05 + # support: + # chrome: "4" + # chrome_android: "18" + # edge: "15" + # firefox: "49" + # firefox_android: "49" + # safari: "3" + # safari_ios: "2" + - css.properties.-webkit-text-stroke From a1b2428a2d31b530e2c1db2b20cdf737705b55e9 Mon Sep 17 00:00:00 2001 From: Victor Allen Date: Mon, 25 Nov 2024 12:01:37 -0800 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: James Stuckey Weber --- features/text-stroke-fill.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/text-stroke-fill.yml b/features/text-stroke-fill.yml index 38e193c3ef9..0f0f9331560 100644 --- a/features/text-stroke-fill.yml +++ b/features/text-stroke-fill.yml @@ -1,5 +1,5 @@ -name: Text stroke and fill -description: The `-webkit-text-stroke-width` and `-webkit-text-stroke-color` CSS properties set the thickness and color of text outlines. The `-webkit-text-fill-color` sets the color within text character outlines. Both default to the text `color`. +name: Text stroke and fill (compatibility prefixes) +description: The `-webkit-text-stroke-width` and `-webkit-text-stroke-color` CSS properties set the thickness and color of text outlines. The `-webkit-text-fill-color` sets the color within text character outlines. Both default to the text color. group: css caniuse: text-stroke spec: https://compat.spec.whatwg.org/#text-fill-and-stroking