- From: Austin Hammer via GitHub <noreply@w3.org>
- Date: Wed, 18 Feb 2026 17:08:00 +0000
- To: public-css-archive@w3.org
> I'd be curious @austinh, does [`sizes=auto`](https://html.spec.whatwg.org/#valdef-sizes-auto) fit your use-case? If not, why not? It does not for a few reasons: * art direction : we may want to show a cropped square on smaller screens for example * hero images - it requires every image to be lazy loaded. * afaik img sizes="auto" needs to have the width and height up front but we are almost always working with images that are scaled to fill the container and dont know this. -- GitHub Notification of comment by austinh Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5889#issuecomment-3922030934 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 18 February 2026 17:08:01 UTC