[csswg-drafts] [css-color-6] `contrast-color()` doesn't include the existing syntax from `css-color-5` (#10811)

romainmenke has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-color-6] `contrast-color()` doesn't include the existing syntax from `css-color-5` ==
https://drafts.csswg.org/css-color-6/#colorcontrast

```
<contrast-color()> = contrast-color(
  [ [ <color> && [ tbd-fg | tbd-bg ] && <target-contrast>? ] |
    [ <color> && [ tbd-fg | tbd-bg ] && <target-contrast>, <color># ] ] )
<target-contrast> = <wcag2>
```

https://drafts.csswg.org/css-color-5/#funcdef-contrast-color

```
contrast-color() = contrast-color( <color> max? )
```

------

In `css-color-5` there is already a minimal version of this function.
The definition in `css-color-6` should also include the `max` keyword.


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10811 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 31 August 2024 16:58:37 UTC