Re: [csswg-drafts] [css-color-adjust-1] Limits on the `only` color scheme keyword (#3881)

The `only` keyword was added based on discussions with @FremyCompany in October 2018 to satisfy some of the needs Microsoft had with trying to adapt this with their high contrast mode. It also helped us (Apple) with Mail's auto darkening feature.

The `only` keyword isn't just about form inputs. It signals to the UA that the page should have no transformations (like auto darkening of the page colors/images supported by macOS Mail and being explored by Chrome).

If you say `light`, the UA could still be allowed to transform the content into a dark color scheme if the user prefers a dark color scheme. Saying `light only` prevents that. Similarly, a page or email designed with a dark color scheme could say `dark` and a user who prefers light color scheme could have a UA that transforms the content to a light color scheme. Saying `dark only` would prevent that. It could also just be a suggestion, the UA could ignore it if there is a need to transform content for accessibility reasons for example.

Also `light dark only` would prevent other transformations in the hypothetical future if another color scheme is added to the known list.

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

Received on Wednesday, 1 May 2019 20:46:19 UTC