Re: [csswg-drafts] [css-mediaqueries] Inverted-colors media feature can cause problems on semi-transparent images. (#9674)

@emilio gave some good examples of bugs that should be resolved, either by the Wikipedia and MathJax site owners, or with an update to the UA style sheet selector. I've filed the WebKit one here: https://webkit.org/b/271959

I'd also like to give an example of what would be taken away from users if this inversion feature were removed. I believe this type of image is much more common than the transparent icons and formulas mentioned above.

Sites like the New York Times (which has never adopted dark mode, btw) would go from this (as shipping today):
![dark web page with expected photo colors; skin tones normal; food looks like food](https://github.com/w3c/csswg-drafts/assets/75867/28d008bb-db92-41bc-bb31-55a176ffb96d)

Back to this:
![dark web page with unexpectedly inverted photo colors; skin tones are blue; food is unrecognizable as food](https://github.com/w3c/csswg-drafts/assets/75867/a46f1d26-aa23-4953-bc68-669774836913)

Users have come to rely on smart inversion for a long time on the web. It's been shipping for 8 years (long before `prefers-color-scheme`) and works desirably and well for most web pages. Let's fix the newly reported issue with transparent PNGs and SVGs, but not gut the feature en masse.
Smart Invert has been shipping for 8 years, since 

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 1 April 2024 11:13:19 UTC