Skip to content

Commit 37c07ad

Browse files
Correct sizes=auto (#3430)
The previous definition was incorrect
1 parent e947bff commit 37c07ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/sizes-auto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: '<img sizes="auto" loading="lazy">'
2-
description: The `sizes="auto"` attribute for the `<img>` HTML element reserves layout space for an image before it loads, avoiding some layout shifts. This attribute only applies to images with the `loading="lazy"` attribute.
2+
description: The `sizes="auto"` attribute for the `<img>` HTML element determines the layout size for the image based on computed layout size when choosing a source from the `srcset`. This attribute only applies to images with the `loading="lazy"` attribute.
33
spec: https://html.spec.whatwg.org/multipage/images.html#valdef-sizes-auto
44
group: images
55
compat_features:

0 commit comments

Comments
 (0)