Re: [csswg-drafts] [css-conditional] [css-contain] `srcset` and `sizes` interaction with container queries (#5889)

I have a hunch that many (most?) `sizes` in the wild are wrong, and users are getting oversized images as a result. Eg, a lot of the `sizes` in https://news.sky.com/uk are just 100vw.

Auto sizes might be a net win for performance, even if it delays image loading until after layout.

Call it `sizes="delayed-auto"` or whatever if you want devs to think twice about using it. But for stuff below the fold (which may already be using `loading="lazy"`, it doesn't seem like a big deal.

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


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

Received on Monday, 14 June 2021 13:05:55 UTC