Auto-sizes for lazy-loaded images in HTML #9
Labels
from: Bocoup
Proposed, edited, or co-edited by Bocoup.
position: support
topic: html
Spec relates to HTML (Hypertext Markup Language)
topic: images
Spec relates to bitmap or vector image formats, or display or processing of images
topic: layout
Spec relates to layout
topic: loading
venue: WHATWG HTML Workstream
Request for position on an emerging web specification
(Please delete inapplicable rows.)
Information about the spec
<img>
Design reviews and vendor positions
Bugs tracking this feature
Anything else we need to know
On webkit-dev, @zcorpan wrote:
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 specifysizes=auto
, for<img>
elements that haveloading=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 to100vw
.Chromium position:
whatwg/html#4654 (comment)
The text was updated successfully, but these errors were encountered: