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

> If you say light (or nothing, the default), the UA could still be allowed to transform the content into a dark color scheme if the user prefers a dark color scheme.

That is absolutely not what the spec says, which we copied over with only light alterations from Rune's first draft of a spec.

If the page says `color-scheme: light`, the UA is allowed to apply a "light" scheme  (if that's what the user wants) or the "default" scheme (if the user wants anything else) (which, for web compat, will be "light" in all web-facing UAs).  It cannot use a "dark" scheme.

If y'all are doing something *different*, **please** describe exactly what it is (in a new issue) so we can discuss altering the algorithm for choosing a used color scheme.

(This, btw, is why you should *write the dang spec* for features you're leading and shipping early on; if you make us guess what you're doing, we won't necessarily match it correctly.)

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

Received on Thursday, 2 May 2019 23:42:06 UTC