diff --git a/features/color-contrast.yml b/features/color-contrast.yml new file mode 100644 index 00000000000..f6a04a80c7d --- /dev/null +++ b/features/color-contrast.yml @@ -0,0 +1,13 @@ +name: color-contrast() +description: "The `color-contrast()` CSS function picks a color from a list that has the most contrast with another color." +spec: https://drafts.csswg.org/css-color-5/#contrast-color +group: color-types +discouraged: + # See these CSSWG discussions + # https://github.com/w3c/csswg-drafts/issues/7557 + # https://github.com/w3c/csswg-drafts/issues/7359 + according_to: + - https://github.com/w3c/csswg-drafts/issues/7557 + - https://github.com/w3c/csswg-drafts/commit/36594e9e8496a5ca83f1f1ee2b4a83bcdf28753b + alternatives: + - contrast-color diff --git a/features/color-contrast.yml.dist b/features/color-contrast.yml.dist new file mode 100644 index 00000000000..ad95f078b43 --- /dev/null +++ b/features/color-contrast.yml.dist @@ -0,0 +1,6 @@ +# Generated from: color-contrast.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: {} diff --git a/features/contrast-color.yml b/features/contrast-color.yml new file mode 100644 index 00000000000..207f4fb02a6 --- /dev/null +++ b/features/contrast-color.yml @@ -0,0 +1,4 @@ +name: contrast-color() +description: "The `contrast-color()` CSS function picks a color that has guaranteed contrast against a specified foreground or background color." +spec: https://drafts.csswg.org/css-color-6/#funcdef-contrast-color +group: color-types diff --git a/features/contrast-color.yml.dist b/features/contrast-color.yml.dist new file mode 100644 index 00000000000..5a73e74a5fe --- /dev/null +++ b/features/contrast-color.yml.dist @@ -0,0 +1,6 @@ +# Generated from: contrast-color.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: {}