Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions features/relative-color.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: 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
# Partial implementation claims that need further research, see
# https://github.com/mdn/browser-compat-data/issues/22961
# - 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