Re:Responsive images
by extra88 on Saturday June 12, 2021 @12:09PM
(#27485385)
You misunderstand me; one will not use container queries to load images responsively, responsive image standards will be changed in ways that are informed by how container queries are implemented.
[ Parent
| on HN ]
Re:Responsive images
by chrismorgan on Sunday June 13, 2021 @07:51AM
(#27491768)
I did misunderstand you at least partially, but my point stands: container queries are part of CSS and layout, and I think it’s very unlikely that they will yield any new approach for responsive image source specifications, because making it work would require shifting waaaaay too much stuff into presentational HTML. What the sizes attribute covers is bad enough in this regard, but it’s at least straightforward to implement in an isolated fashion.