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

Re: [csswg-drafts] [css-media-queries-5] add clarification on applied order for multiple preferences (#4895)

From: Chris Lilley via GitHub <sysbot+gh@w3.org>
Date: Thu, 26 Mar 2020 17:00:02 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-604548921-1585242000-sysbot+gh@w3.org>
> That said, Color 5 is working on a (still very early stages, don't look to its details as particularly informative of a final design yet) automatic contrast adjuster, where you can feed it two colors and a desired contrast ratio and it spits out one of the colors adjusted appropriately.

That isn't what it does (although there has been discussion about adding that functionality). You feed it a color, a list of colors (and optionally a contrast ratio) and it returns the first color  in the list that meets or exceeds that ratio. If no ratio is given, it returns the one in the list with the highest contrast.

GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4895#issuecomment-604548921 using your GitHub account
Received on Thursday, 26 March 2020 17:00:05 UTC

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