Hi,

I'd like WebKit's position on the proposal: Add sizes=auto to lazy-loaded
<img>

This allows web developers to omit the `sizes` attribute, or explicitly
specify `sizes=auto`, for <img> elements that have `loading=lazy`. The
browser will use the layout width of the image as input to the srcset
resource selection (lazy images don't start loading until layout is
known, at the earliest). For eager-loading images, it's invalid and
equivalent to `100vw`.

Spec issue: https://github.com/whatwg/html/issues/4654
Spec PR: https://github.com/whatwg/html/pull/8008
Chromium position:
https://github.com/whatwg/html/issues/4654#issuecomment-1154412434
Mozilla standards position:
https://github.com/mozilla/standards-positions/issues/650

cheers,
-- 
Simon Pieters
Bocoup https://bocoup.com/
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to