Ancestors

Toot

Written by Stephen Bell on 2024-09-27 at 21:20

The holy grail of native use in browsers launched earlier this year, and I can't believe I missed it!

sizes='auto' means we can now drop lazy loading images into pages and the browser will choose the correct image size without any media rules being specified, or using any JS!

https://codepen.io/stephenjbell/pen/gOVpBvx

[#]webdev #webdesign

=> More informations about this toot | More toots from stephenjbell@indieweb.social

Descendants

Written by Eric Portis on 2024-09-27 at 21:30

@stephenjbell we tried to tell you https://front-end.social/@Wilto/111523079886202050

=> More informations about this toot | More toots from eeeps@front-end.social

Written by Mat “Wilto” Marquis on 2024-09-27 at 21:31

@eeeps @stephenjbell i’m still the dj

=> More informations about this toot | More toots from Wilto@front-end.social

Written by Stephen Bell on 2024-09-27 at 21:34

@Wilto @eeeps sizes auto party!

=> View attached media

=> More informations about this toot | More toots from stephenjbell@indieweb.social

Written by Stephen Bell on 2024-09-27 at 21:40

@Wilto @eeeps Any idea if Safari/Firefox are heading in this direction?

=> More informations about this toot | More toots from stephenjbell@indieweb.social

Written by Eric Portis on 2024-09-27 at 22:04

@stephenjbell @Wilto They're on board (https://www.webkit.org/standards-positions/#position-9 https://mozilla.github.io/standards-positions/#img-auto-sizes) but I don't think anyone's writing code yet.

(This is a great reminder that I wanted to submit this for Interop 2025, brb)

=> More informations about this toot | More toots from eeeps@front-end.social

Written by Eric Portis on 2024-09-27 at 23:09

@stephenjbell @Wilto Ta da! https://github.com/web-platform-tests/interop/issues/761

=> More informations about this toot | More toots from eeeps@front-end.social

Written by Stephen Bell on 2024-09-27 at 23:32

@eeeps @Wilto

=> View attached media

=> More informations about this toot | More toots from stephenjbell@indieweb.social

Written by Stephen Bell on 2024-09-27 at 21:32

@eeeps Haha. I shared that at the time! I just didn’t know that “soon” had already turned into 50% supported!

=> More informations about this toot | More toots from stephenjbell@indieweb.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113211606565023719
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
299.869477 milliseconds
Gemini-to-HTML Time
1.77428 milliseconds

This content has been proxied by September (ba2dc).