Re: [csswg-drafts] [css-color-5] Make color-contrast() candidates optional (#7345)

Why do we use `vs` anyway and not just something like this:

```
color-contrast() = color-contrast( <color> [ , <color>#{2,}  [ , to [<number> | AA | AA-large | AAA | AAA-large]]? ]? )
```

Because for me, the following looks like only maroon is tested to AA and only wheat and bisque are compared.
```
color-contrast(wheat vs bisque, darkgoldenrod, olive, sienna, darkgreen, maroon to AA)
```

I think this would be much more readable:
```
color-contrast(wheat, bisque darkgoldenrod olive sienna darkgreen maroon, to AA)
```

-- 
GitHub Notification of comment by manuelmeister
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7345#issuecomment-1155213910 using your GitHub account


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

Received on Tuesday, 14 June 2022 13:50:18 UTC