From 3ec3d4c792ed637d8ca69758c5a11fc397a5602a Mon Sep 17 00:00:00 2001 From: SondraE Date: Wed, 16 Oct 2024 16:47:26 -0600 Subject: [PATCH 1/6] add text shadow --- features/text-shadow.yml | 6 ++++++ features/text-shadow.yml.dist | 17 +++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 features/text-shadow.yml create mode 100644 features/text-shadow.yml.dist diff --git a/features/text-shadow.yml b/features/text-shadow.yml new file mode 100644 index 00000000000..48890f34a35 --- /dev/null +++ b/features/text-shadow.yml @@ -0,0 +1,6 @@ +name: text-shadow +description: The `text-shadow` CSS property sets the position and styles of shadow on text. +spec: https://drafts.csswg.org/css-text-decor-4/#text-shadow-property +caniuse: css-textshadow +compat_features: + - css.properties.text-shadow diff --git a/features/text-shadow.yml.dist b/features/text-shadow.yml.dist new file mode 100644 index 00000000000..ba0dea1f202 --- /dev/null +++ b/features/text-shadow.yml.dist @@ -0,0 +1,17 @@ +# Generated from: text-shadow.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 + support: + chrome: "2" + chrome_android: "18" + edge: "12" + firefox: "3.5" + firefox_android: "4" + safari: "1.1" + safari_ios: "1" +compat_features: + - css.properties.text-shadow From 0c4ed8b61bf76dbf6fe517cf7ff9fc924d307d75 Mon Sep 17 00:00:00 2001 From: SondraE Date: Thu, 17 Oct 2024 15:36:04 -0600 Subject: [PATCH 2/6] add text underline --- features/text-underline.yml | 10 ++++++ features/text-underline.yml.dist | 52 ++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 features/text-underline.yml create mode 100644 features/text-underline.yml.dist diff --git a/features/text-underline.yml b/features/text-underline.yml new file mode 100644 index 00000000000..73a46646355 --- /dev/null +++ b/features/text-underline.yml @@ -0,0 +1,10 @@ +name: Text underline +description: "The `text-underline-offset` and `text-underline-position` CSS properties set the position of the underline on text with `text-decoration: underline`." +spec: https://drafts.csswg.org/css-text-decor-4/#line-decoration +status: + compute_from: css.properties.text-underline-position +compat_features: + - css.properties.text-underline-offset + - css.properties.text-underline-offset.auto + - css.properties.text-underline-offset.percentage + - css.properties.text-underline-position diff --git a/features/text-underline.yml.dist b/features/text-underline.yml.dist new file mode 100644 index 00000000000..6e899ad271d --- /dev/null +++ b/features/text-underline.yml.dist @@ -0,0 +1,52 @@ +# Generated from: text-underline.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2020-07-28 + baseline_high_date: 2023-01-28 + support: + chrome: "33" + chrome_android: "33" + edge: "12" + firefox: "74" + firefox_android: "79" + safari: "12.1" + safari_ios: "12.2" +compat_features: + # ⬇️ Same status as overall feature ⬇️ + # baseline: high + # baseline_low_date: 2020-07-28 + # baseline_high_date: 2023-01-28 + # support: + # chrome: "33" + # chrome_android: "33" + # edge: "12" + # firefox: "74" + # firefox_android: "79" + # safari: "12.1" + # safari_ios: "12.2" + - css.properties.text-underline-position + + # baseline: high + # baseline_low_date: 2020-11-19 + # baseline_high_date: 2023-05-19 + # support: + # chrome: "87" + # chrome_android: "87" + # edge: "87" + # firefox: "70" + # firefox_android: "79" + # safari: "12.1" + # safari_ios: "12.2" + - css.properties.text-underline-offset + - css.properties.text-underline-offset.auto + + # baseline: false + # support: + # chrome: "87" + # chrome_android: "87" + # edge: "87" + # firefox: "74" + # firefox_android: "79" + - css.properties.text-underline-offset.percentage From c560f54c20c686128cc36ff0d785467b243c4e27 Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Fri, 18 Oct 2024 09:08:28 -0400 Subject: [PATCH 3/6] Add missing keys --- features/text-underline.yml | 5 +++++ features/text-underline.yml.dist | 36 ++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/features/text-underline.yml b/features/text-underline.yml index 73a46646355..175e2b675d3 100644 --- a/features/text-underline.yml +++ b/features/text-underline.yml @@ -8,3 +8,8 @@ compat_features: - css.properties.text-underline-offset.auto - css.properties.text-underline-offset.percentage - css.properties.text-underline-position + - css.properties.text-underline-position.from-font + - css.properties.text-underline-position.left + - css.properties.text-underline-position.right + - css.properties.text-underline-position.under + \ No newline at end of file diff --git a/features/text-underline.yml.dist b/features/text-underline.yml.dist index 6e899ad271d..d5d2089386d 100644 --- a/features/text-underline.yml.dist +++ b/features/text-underline.yml.dist @@ -28,6 +28,19 @@ compat_features: # safari_ios: "12.2" - css.properties.text-underline-position + # baseline: high + # baseline_low_date: 2020-07-28 + # baseline_high_date: 2023-01-28 + # support: + # chrome: "33" + # chrome_android: "33" + # edge: "79" + # firefox: "74" + # firefox_android: "79" + # safari: "12.1" + # safari_ios: "12.2" + - css.properties.text-underline-position.under + # baseline: high # baseline_low_date: 2020-11-19 # baseline_high_date: 2023-05-19 @@ -42,6 +55,29 @@ compat_features: - css.properties.text-underline-offset - css.properties.text-underline-offset.auto + # baseline: high + # baseline_low_date: 2020-11-19 + # baseline_high_date: 2023-05-19 + # support: + # chrome: "87" + # chrome_android: "87" + # edge: "87" + # firefox: "74" + # firefox_android: "79" + # safari: "12.1" + # safari_ios: "12.2" + - css.properties.text-underline-position.from-font + + # baseline: false + # support: + # chrome: "71" + # chrome_android: "71" + # edge: "79" + # firefox: "74" + # firefox_android: "79" + - css.properties.text-underline-position.left + - css.properties.text-underline-position.right + # baseline: false # support: # chrome: "87" From c56e8b7ccf44a3f862e4d30981b11525f7e40412 Mon Sep 17 00:00:00 2001 From: SondraE Date: Fri, 18 Oct 2024 10:05:29 -0600 Subject: [PATCH 4/6] update text underline position --- features/text-shadow.yml | 1 + ...erline.yml => text-underline-position.yml} | 6 +- features/text-underline-position.yml.dist | 88 +++++++++++++++++++ 3 files changed, 92 insertions(+), 3 deletions(-) rename features/{text-underline.yml => text-underline-position.yml} (68%) create mode 100644 features/text-underline-position.yml.dist diff --git a/features/text-shadow.yml b/features/text-shadow.yml index 48890f34a35..18344b97500 100644 --- a/features/text-shadow.yml +++ b/features/text-shadow.yml @@ -2,5 +2,6 @@ name: text-shadow description: The `text-shadow` CSS property sets the position and styles of shadow on text. spec: https://drafts.csswg.org/css-text-decor-4/#text-shadow-property caniuse: css-textshadow +group: text compat_features: - css.properties.text-shadow diff --git a/features/text-underline.yml b/features/text-underline-position.yml similarity index 68% rename from features/text-underline.yml rename to features/text-underline-position.yml index 175e2b675d3..e47b02909b6 100644 --- a/features/text-underline.yml +++ b/features/text-underline-position.yml @@ -1,6 +1,7 @@ -name: Text underline -description: "The `text-underline-offset` and `text-underline-position` CSS properties set the position of the underline on text with `text-decoration: underline`." +name: Text underline position +description: "The `text-underline-position` and `text-underline-offset` CSS properties set the position and distance from initial position of text underlines on text with `text-decoration: underline`." spec: https://drafts.csswg.org/css-text-decor-4/#line-decoration +group: text status: compute_from: css.properties.text-underline-position compat_features: @@ -12,4 +13,3 @@ compat_features: - css.properties.text-underline-position.left - css.properties.text-underline-position.right - css.properties.text-underline-position.under - \ No newline at end of file diff --git a/features/text-underline-position.yml.dist b/features/text-underline-position.yml.dist new file mode 100644 index 00000000000..003c61cb9dc --- /dev/null +++ b/features/text-underline-position.yml.dist @@ -0,0 +1,88 @@ +# Generated from: text-underline-position.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2020-07-28 + baseline_high_date: 2023-01-28 + support: + chrome: "33" + chrome_android: "33" + edge: "12" + firefox: "74" + firefox_android: "79" + safari: "12.1" + safari_ios: "12.2" +compat_features: + # ⬇️ Same status as overall feature ⬇️ + # baseline: high + # baseline_low_date: 2020-07-28 + # baseline_high_date: 2023-01-28 + # support: + # chrome: "33" + # chrome_android: "33" + # edge: "12" + # firefox: "74" + # firefox_android: "79" + # safari: "12.1" + # safari_ios: "12.2" + - css.properties.text-underline-position + + # baseline: high + # baseline_low_date: 2020-07-28 + # baseline_high_date: 2023-01-28 + # support: + # chrome: "33" + # chrome_android: "33" + # edge: "79" + # firefox: "74" + # firefox_android: "79" + # safari: "12.1" + # safari_ios: "12.2" + - css.properties.text-underline-position.under + + # baseline: high + # baseline_low_date: 2020-11-19 + # baseline_high_date: 2023-05-19 + # support: + # chrome: "87" + # chrome_android: "87" + # edge: "87" + # firefox: "70" + # firefox_android: "79" + # safari: "12.1" + # safari_ios: "12.2" + - css.properties.text-underline-offset + - css.properties.text-underline-offset.auto + + # baseline: high + # baseline_low_date: 2020-11-19 + # baseline_high_date: 2023-05-19 + # support: + # chrome: "87" + # chrome_android: "87" + # edge: "87" + # firefox: "74" + # firefox_android: "79" + # safari: "12.1" + # safari_ios: "12.2" + - css.properties.text-underline-position.from-font + + # baseline: false + # support: + # chrome: "71" + # chrome_android: "71" + # edge: "79" + # firefox: "74" + # firefox_android: "79" + - css.properties.text-underline-position.left + - css.properties.text-underline-position.right + + # baseline: false + # support: + # chrome: "87" + # chrome_android: "87" + # edge: "87" + # firefox: "74" + # firefox_android: "79" + - css.properties.text-underline-offset.percentage From 6135486ca21ac94326314f921b964999164bbf26 Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Mon, 21 Oct 2024 13:36:36 -0400 Subject: [PATCH 5/6] Remove orphaned dist --- features/text-underline.yml.dist | 88 -------------------------------- 1 file changed, 88 deletions(-) delete mode 100644 features/text-underline.yml.dist diff --git a/features/text-underline.yml.dist b/features/text-underline.yml.dist deleted file mode 100644 index d5d2089386d..00000000000 --- a/features/text-underline.yml.dist +++ /dev/null @@ -1,88 +0,0 @@ -# Generated from: text-underline.yml -# Do not edit this file by hand. Edit the source file instead! - -status: - baseline: high - baseline_low_date: 2020-07-28 - baseline_high_date: 2023-01-28 - support: - chrome: "33" - chrome_android: "33" - edge: "12" - firefox: "74" - firefox_android: "79" - safari: "12.1" - safari_ios: "12.2" -compat_features: - # ⬇️ Same status as overall feature ⬇️ - # baseline: high - # baseline_low_date: 2020-07-28 - # baseline_high_date: 2023-01-28 - # support: - # chrome: "33" - # chrome_android: "33" - # edge: "12" - # firefox: "74" - # firefox_android: "79" - # safari: "12.1" - # safari_ios: "12.2" - - css.properties.text-underline-position - - # baseline: high - # baseline_low_date: 2020-07-28 - # baseline_high_date: 2023-01-28 - # support: - # chrome: "33" - # chrome_android: "33" - # edge: "79" - # firefox: "74" - # firefox_android: "79" - # safari: "12.1" - # safari_ios: "12.2" - - css.properties.text-underline-position.under - - # baseline: high - # baseline_low_date: 2020-11-19 - # baseline_high_date: 2023-05-19 - # support: - # chrome: "87" - # chrome_android: "87" - # edge: "87" - # firefox: "70" - # firefox_android: "79" - # safari: "12.1" - # safari_ios: "12.2" - - css.properties.text-underline-offset - - css.properties.text-underline-offset.auto - - # baseline: high - # baseline_low_date: 2020-11-19 - # baseline_high_date: 2023-05-19 - # support: - # chrome: "87" - # chrome_android: "87" - # edge: "87" - # firefox: "74" - # firefox_android: "79" - # safari: "12.1" - # safari_ios: "12.2" - - css.properties.text-underline-position.from-font - - # baseline: false - # support: - # chrome: "71" - # chrome_android: "71" - # edge: "79" - # firefox: "74" - # firefox_android: "79" - - css.properties.text-underline-position.left - - css.properties.text-underline-position.right - - # baseline: false - # support: - # chrome: "87" - # chrome_android: "87" - # edge: "87" - # firefox: "74" - # firefox_android: "79" - - css.properties.text-underline-offset.percentage From 48e5ca35aa06ffcfe90884e6cf59586e903ae3ca Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Wed, 23 Oct 2024 13:19:42 -0400 Subject: [PATCH 6/6] Use text-underline-offset as compute_from --- features/text-underline-position.yml | 2 +- features/text-underline-position.yml.dist | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/features/text-underline-position.yml b/features/text-underline-position.yml index e47b02909b6..5d39281361a 100644 --- a/features/text-underline-position.yml +++ b/features/text-underline-position.yml @@ -3,7 +3,7 @@ description: "The `text-underline-position` and `text-underline-offset` CSS prop spec: https://drafts.csswg.org/css-text-decor-4/#line-decoration group: text status: - compute_from: css.properties.text-underline-position + compute_from: css.properties.text-underline-offset compat_features: - css.properties.text-underline-offset - css.properties.text-underline-offset.auto diff --git a/features/text-underline-position.yml.dist b/features/text-underline-position.yml.dist index 003c61cb9dc..e260f96e1a6 100644 --- a/features/text-underline-position.yml.dist +++ b/features/text-underline-position.yml.dist @@ -3,18 +3,17 @@ status: baseline: high - baseline_low_date: 2020-07-28 - baseline_high_date: 2023-01-28 + baseline_low_date: 2020-11-19 + baseline_high_date: 2023-05-19 support: - chrome: "33" - chrome_android: "33" - edge: "12" - firefox: "74" + chrome: "87" + chrome_android: "87" + edge: "87" + firefox: "70" firefox_android: "79" safari: "12.1" safari_ios: "12.2" compat_features: - # ⬇️ Same status as overall feature ⬇️ # baseline: high # baseline_low_date: 2020-07-28 # baseline_high_date: 2023-01-28 @@ -41,6 +40,7 @@ compat_features: # safari_ios: "12.2" - css.properties.text-underline-position.under + # ⬇️ Same status as overall feature ⬇️ # baseline: high # baseline_low_date: 2020-11-19 # baseline_high_date: 2023-05-19