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

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

From: Simon Fraser via GitHub <sysbot+gh@w3.org>
Date: Fri, 21 May 2021 16:45:28 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-846096815-1621615527-sysbot+gh@w3.org>
Another nuance in the original proposal which I want to make sure is captured: we didn't want to write it with the assumption that "light" and "dark" would be the only modes available. It allowed for the UA to have a mode that authors were not aware of, and for content to have modes that a UA did not support. For example, if an author said `color-scheme: light dark` and the UA had a `sepia` mode that was active, we wanted to allow the UA to apply `sepia` (presumably by picking the light mode, and then applying adjustments). `only` was included to allow the. author to preclude the UA from doing any conversions to modes which they had not specifically authored for.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 21 May 2021 16:45:30 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:27:23 UTC