Mat “Wilto” Marquis on Nostr: At long last, `sizes="auto"` is coming soon to a web platform near you. ...
At long last, `sizes="auto"` is coming soon to a web platform near you. https://groups.google.com/a/chromium.org/g/blink-dev/c/OAsmCbjPJz0/m/jzuTJzs1AAAJ
When this lands, `img[loading="lazy"]` elements (read: “not largest contentful paint”) will be able to determine their own `sizes` attributes, since layout is available at the time their requests go out—no performance hits, no redundant requests, and no more developers stuck fussing with an entire page full of unwieldy layout-dependent `img` markup.
When this lands, `img[loading="lazy"]` elements (read: “not largest contentful paint”) will be able to determine their own `sizes` attributes, since layout is available at the time their requests go out—no performance hits, no redundant requests, and no more developers stuck fussing with an entire page full of unwieldy layout-dependent `img` markup.