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

Re: [csswg-drafts] [mediaqueries-5] duplication of `forced-colors: active` and `prefers-contrast: forced` (#5433)

From: James Craig via GitHub <sysbot+gh@w3.org>
Date: Tue, 27 Oct 2020 03:24:48 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-716954108-1603769087-sysbot+gh@w3.org>
The main arguments I and others made **against** `prefers-contrast: forced`: 

1. We should keep `forced-colors` for interoperability, unless the new syntax proposal provides sufficient benefit to warrant deprecating existing implementations. In my opinion, it doesn't provide additional benefit. (More on that below, since it's the primary point of disagreement.)
2. Keeping the two media features separate increases author clarity. `prefers-contrast` is only ever about a preference for more or less contrast. `forced-colors` is only about whether colors are forced, regardless of contrast.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 27 October 2020 03:24:50 UTC

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