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

Re: [csswg-drafts] [css-color-adjust-1][mediaqueries-5] Fold `forced-colors` and `prefers-contrast`? (#3856)

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Wed, 10 Jun 2020 22:33:07 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-642302201-1591828386-sysbot+gh@w3.org>
> I think it would be problematic to have @media (prefers-contrast) match the low value, as this is the opposite of what most authors would intend...

If the author wants to evaluate against high contrast, they can write `@media (prefers-contrast: high)`. `@media (prefers-contrast)` literally says "there is a preferred contrast", evaluating to true for low, high, and forced here makes sense afaict.

GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3856#issuecomment-642302201 using your GitHub account
Received on Wednesday, 10 June 2020 22:33:08 UTC

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