From aec355920db662462fc4b6ca773e6dde4ff7e100 Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Thu, 24 Oct 2024 14:56:40 -0400 Subject: [PATCH 1/4] Update notes on relative colors --- features/relative-color.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/features/relative-color.yml b/features/relative-color.yml index 25439c5f7c4..fadc59326aa 100644 --- a/features/relative-color.yml +++ b/features/relative-color.yml @@ -3,23 +3,20 @@ description: "The `from` keyword for color functions (`color()`, `hsl()`, `oklch spec: https://drafts.csswg.org/css-color-5/#relative-colors group: css caniuse: css-relative-colors -# TODO: Revisit when this has shipped in Firefox if we should retroactively -# claim partial support in Chrome and Safari for some versions. If so, also make -# the same changes in caniuse. +# TODO: Full implementation in Chromium 125, Safari 18, Firefox 128. +# This will move baseline_low from 2024-07-09 to 2024-10-??. +# Caniuse also needs cleanup- see https://github.com/Fyrd/caniuse/issues/7191 compat_features: # These are the only two features that don't use partial implementation for # some browser, so they can represent initial support for the feature. - css.types.color.lab.relative_syntax - css.types.color.oklab.relative_syntax - # Partial implementation claims that need further research, see - # https://github.com/mdn/browser-compat-data/issues/22961 + # Following BCD keys pending https://github.com/mdn/browser-compat-data/issues/24528. # - css.types.color.color.relative_syntax # - css.types.color.hsl.relative_syntax # - css.types.color.hwb.relative_syntax # - css.types.color.lch.relative_syntax # - css.types.color.oklch.relative_syntax - # Seemingly incorrect notes, see - # https://github.com/mdn/browser-compat-data/pull/22960 # - css.types.color.rgb.relative_syntax # calc.color_component is tagged as `web-features:calc`, but should be moved here instead. #- css.types.calc.color_component From 1d69cd005fc4513c867cbf653873b5d6fd5b7251 Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Thu, 24 Oct 2024 15:05:28 -0400 Subject: [PATCH 2/4] Format --- features/relative-color.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/relative-color.yml b/features/relative-color.yml index fadc59326aa..55567f22c98 100644 --- a/features/relative-color.yml +++ b/features/relative-color.yml @@ -3,7 +3,7 @@ description: "The `from` keyword for color functions (`color()`, `hsl()`, `oklch spec: https://drafts.csswg.org/css-color-5/#relative-colors group: css caniuse: css-relative-colors -# TODO: Full implementation in Chromium 125, Safari 18, Firefox 128. +# TODO: Full implementation in Chromium 125, Safari 18, Firefox 128. # This will move baseline_low from 2024-07-09 to 2024-10-??. # Caniuse also needs cleanup- see https://github.com/Fyrd/caniuse/issues/7191 compat_features: From 01c80f68a44572993b94a597c9474db7605be224 Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Mon, 28 Oct 2024 09:58:57 -0400 Subject: [PATCH 3/4] Update notes --- features/relative-color.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/features/relative-color.yml b/features/relative-color.yml index 55567f22c98..88f3e86a2b6 100644 --- a/features/relative-color.yml +++ b/features/relative-color.yml @@ -3,15 +3,15 @@ description: "The `from` keyword for color functions (`color()`, `hsl()`, `oklch spec: https://drafts.csswg.org/css-color-5/#relative-colors group: css caniuse: css-relative-colors -# TODO: Full implementation in Chromium 125, Safari 18, Firefox 128. -# This will move baseline_low from 2024-07-09 to 2024-10-??. -# Caniuse also needs cleanup- see https://github.com/Fyrd/caniuse/issues/7191 +# TODO: Sort out support with https://github.com/mdn/browser-compat-data/issues/24528 +# Support for Relative colors in Chromium 119, Safari 16.4, Firefox 128. +# Support for currentColor in relative colors in Chromium 131, Safari 16.4, Firefox 133. +# We don't need separate features, but should pin the feature on one of those. compat_features: # These are the only two features that don't use partial implementation for # some browser, so they can represent initial support for the feature. - css.types.color.lab.relative_syntax - css.types.color.oklab.relative_syntax - # Following BCD keys pending https://github.com/mdn/browser-compat-data/issues/24528. # - css.types.color.color.relative_syntax # - css.types.color.hsl.relative_syntax # - css.types.color.hwb.relative_syntax From 2534230ee25df74db9e3a477a943dd1f80b2b836 Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Mon, 28 Oct 2024 10:04:42 -0400 Subject: [PATCH 4/4] Format --- features/relative-color.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/relative-color.yml b/features/relative-color.yml index 88f3e86a2b6..50176157f4f 100644 --- a/features/relative-color.yml +++ b/features/relative-color.yml @@ -3,9 +3,9 @@ description: "The `from` keyword for color functions (`color()`, `hsl()`, `oklch spec: https://drafts.csswg.org/css-color-5/#relative-colors group: css caniuse: css-relative-colors -# TODO: Sort out support with https://github.com/mdn/browser-compat-data/issues/24528 +# TODO: Sort out support with https://github.com/mdn/browser-compat-data/issues/24528 # Support for Relative colors in Chromium 119, Safari 16.4, Firefox 128. -# Support for currentColor in relative colors in Chromium 131, Safari 16.4, Firefox 133. +# Support for currentColor in relative colors in Chromium 131, Safari 16.4, Firefox 133. # We don't need separate features, but should pin the feature on one of those. compat_features: # These are the only two features that don't use partial implementation for