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

Re: [csswg-drafts] [css-color-adjust] Re-add `only` to mean "don't auto-adjust me", per WebKit's behavior (#5089)

From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
Date: Wed, 27 May 2020 21:38:18 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-634955887-1590615498-sysbot+gh@w3.org>

Since `forced-colors` is a media query, which could be used to set `color-scheme`, which could affect whether or not the browser decides to opt in to a forced colors-like scheme, how do we deal with this circularity? Maybe the decision to do a fix-up / forced color change based on the `color-scheme` meta tag only, and `forced-color-adjust` (rather than an `only` keyword in the `color-scheme` property) would still be required if you wanted to opt-out parts of the page.

Do the Mail / WebKit color adjustments currently apply on the whole page only, or do they support the CSS `color-scheme` on subtrees?

GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5089#issuecomment-634955887 using your GitHub account
Received on Wednesday, 27 May 2020 21:38:21 UTC

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