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

> Removing this would break Smart Invert on most websites, to account for an uncommon edge case with a transparent SVG? This type of example is the primary place where the media query should be used by the web author... In the priorities of constituency context, removing this would penalize both all SI users and the vast majority of web authors.

I don't think it's quite "an uncommon edge case with a transparent SVG". Contentful images are not uncommon. For example, this breaks all equations in wikipedia.

If you use smart invert and go to https://en.wikipedia.org/wiki/Equation#Description in Safari (or Firefox release for that matter), you'll just see black space where the equations and symbols are supposed to be.

Sure, the site _can_ fix it, and Wikipedia probably would if prompted to do so, but I think the failure mode (making the content completely invisible, no signal there was anything there), plus the fact that the site isn't really doing anything wrong, it's just the UA messing up the page, doesn't seem quite the right trade-off to me, even if the rule gets things right in 90% of the cases.

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


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

Received on Saturday, 20 January 2024 08:01:34 UTC