W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2020

Re: [csswg-drafts] [css-color-5] color-contrast needs another comma (#5087)

From: Lea Verou via GitHub <sysbot+gh@w3.org>
Date: Tue, 02 Jun 2020 22:44:40 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-637846342-1591137879-sysbot+gh@w3.org>
I think a keyword might be the way to go if we want to avoid explicit grouping via a function. What about `on` or `over`? `color-contrast(tan on wheat, lch(0 0 50), #f00)`
Yes, we think of the first param as the "background color", but the contrast formula is commutative.

GitHub Notification of comment by LeaVerou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5087#issuecomment-637846342 using your GitHub account
Received on Tuesday, 2 June 2020 22:44:42 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:09 UTC