- From: Manuel Meister via GitHub <sysbot+gh@w3.org>
- Date: Tue, 14 Jun 2022 15:05:30 +0000
- To: public-css-archive@w3.org
manuelmeister has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-color-5] Make syntax of color-contrast() more like a math function == Why do we use `vs` 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) ``` _Originally posted by @manuelmeister in https://github.com/w3c/csswg-drafts/issues/7345#issuecomment-1155213910_ Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7354 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 15:05:31 UTC