WPT
wpt / html / semantics / embedded-content / the-img-element / sizes / sizes-auto.html
Spec: HTML ↗
Runs: Chrome 155.0.8043.0 (wpt@b89af32bc, 2026-09-05) | Firefox 157.0a1 (wpt@b89af32bc, 2026-09-05) | Safari 251 preview (wpt@b89af32bc, 2026-09-05) | Ladybird 1.0-0c53a (wpt@b89af32bc, 2026-09-05) | Servo Servo 0.6 (wpt@2c385f65e, 2026-09-04) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 72/74 | 74/74 | 74/74 | 38/74 | 38/74 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| <img sizes="1px" data-ref="ref1" srcset="/images/green-1x1.png?img1 50w, /images/green-16x16.png?img1 51w"> | PASS | PASS | PASS | PASS | PASS | — |
| <picture><source sizes="1px" srcset="/images/green-1x1.png?picture1 50w, /images/green-16x16.png?picture1 51w"><img data-ref="ref1"></picture> | PASS | PASS | PASS | PASS | PASS | — |
| <img sizes="" data-ref="ref2" srcset="/images/green-1x1.png?img2 50w, /images/green-16x16.png?img2 51w"> | PASS | PASS | PASS | PASS | PASS | — |
| <picture><source sizes="" srcset="/images/green-1x1.png?picture2 50w, /images/green-16x16.png?picture2 51w"><img data-ref="ref2"></picture> | PASS | PASS | PASS | PASS | PASS | — |
| <img loading="lazy" sizes="auto" width="10" data-ref="ref1" srcset="/images/green-1x1.png?img3 50w, /images/green-16x16.png?img3 51w"> | PASS | PASS | PASS | FAIL | FAIL | — |
| <picture><source srcset="/images/green-1x1.png?picture3 50w, /images/green-16x16.png?picture3 51w"><img loading="lazy" sizes="auto" width="10" data-ref="ref1"></picture> | PASS | PASS | PASS | FAIL | FAIL | — |
| <img loading="lazy" sizes="AUTO" width="10" data-ref="ref1" srcset="/images/green-1x1.png?img4 50w, /images/green-16x16.png?img4 51w"> | PASS | PASS | PASS | FAIL | FAIL | — |
| <picture><source srcset="/images/green-1x1.png?picture4 50w, /images/green-16x16.png?picture4 51w"><img loading="lazy" sizes="AUTO" width="10" data-ref="ref1"></picture> | PASS | PASS | PASS | FAIL | FAIL | — |
| <img loading="lazy" width="10" data-ref="ref2" srcset="/images/green-1x1.png?img5 50w, /images/green-16x16.png?img5 51w"> | PASS | PASS | PASS | PASS | PASS | — |
| <picture><source srcset="/images/green-1x1.png?picture5 50w, /images/green-16x16.png?picture5 51w"><img loading="lazy" width="10" data-ref="ref2"></picture> | PASS | PASS | PASS | PASS | PASS | — |
| <img loading="lazy" style="width: 10px" data-ref="ref2" srcset="/images/green-1x1.png?img6 50w, /images/green-16x16.png?img6 51w"> | PASS | PASS | PASS | PASS | PASS | — |
| <picture><source srcset="/images/green-1x1.png?picture6 50w, /images/green-16x16.png?picture6 51w"><img loading="lazy" style="width: 10px" data-ref="ref2"></picture> | PASS | PASS | PASS | PASS | PASS | — |
| <img loading="lazy" style="max-width: 10px" data-ref="ref2" srcset="/images/green-1x1.png?img7 50w, /images/green-16x16.png?img7 51w"> | PASS | PASS | PASS | PASS | PASS | — |
| <picture><source srcset="/images/green-1x1.png?picture7 50w, /images/green-16x16.png?picture7 51w"><img loading="lazy" style="max-width: 10px" data-ref="ref2"></picture> | PASS | PASS | PASS | PASS | PASS | — |
| <img loading="lazy" style="width: 100%; max-width: 10px" data-ref="ref2" srcset="/images/green-1x1.png?img8 50w, /images/green-16x16.png?img8 51w"> | PASS | PASS | PASS | PASS | PASS | — |
| <picture><source srcset="/images/green-1x1.png?picture8 50w, /images/green-16x16.png?picture8 51w"><img loading="lazy" style="width: 100%; max-width: 10px" data-ref="ref2"></picture> | PASS | PASS | PASS | PASS | PASS | — |
| <img loading="lazy" sizes="auto" width="500" data-ref="ref2" srcset="/images/green-1x1.png?img9 50w, /images/green-16x16.png?img9 51w"> | PASS | PASS | PASS | PASS | PASS | — |
| <picture><source srcset="/images/green-1x1.png?picture9 50w, /images/green-16x16.png?picture9 51w"><img loading="lazy" sizes="auto" width="500" data-ref="ref2"></picture> | PASS | PASS | PASS | PASS | PASS | — |
| <img loading="lazy" sizes="auto" width="10" style="visibility: hidden" data-ref="ref1" srcset="/images/green-1x1.png?img10 50w, /images/green-16x16.png?img10 51w"> | PASS | PASS | PASS | FAIL | FAIL | — |
| <picture><source srcset="/images/green-1x1.png?picture10 50w, /images/green-16x16.png?picture10 51w"><img loading="lazy" sizes="auto" width="10" style="visibility: hidden" data-ref="ref1"></picture> | PASS | PASS | PASS | FAIL | FAIL | — |
| <img loading="lazy" sizes="auto" width="10" style="display: inline" hidden="" data-ref="ref1" srcset="/images/green-1x1.png?img11 50w, /images/green-16x16.png?img11 51w"> | PASS | PASS | PASS | FAIL | FAIL | — |
| <picture><source srcset="/images/green-1x1.png?picture11 50w, /images/green-16x16.png?picture11 51w"><img loading="lazy" sizes="auto" width="10" style="display: inline" hidden="" data-ref="ref1"></picture> | PASS | PASS | PASS | FAIL | FAIL | — |
| <img loading="lazy" sizes="auto" width="0" data-ref="ref1" srcset="/images/green-1x1.png?img12 50w, /images/green-16x16.png?img12 51w"> | PASS | PASS | PASS | FAIL | FAIL | — |
| <picture><source srcset="/images/green-1x1.png?picture12 50w, /images/green-16x16.png?picture12 51w"><img loading="lazy" sizes="auto" width="0" data-ref="ref1"></picture> | PASS | PASS | PASS | FAIL | FAIL | — |
| <img loading="lazy" sizes="auto" style="width: 0px" data-ref="ref1" srcset="/images/green-1x1.png?img13 50w, /images/green-16x16.png?img13 51w"> | PASS | PASS | PASS | FAIL | FAIL | — |
| <picture><source srcset="/images/green-1x1.png?picture13 50w, /images/green-16x16.png?picture13 51w"><img loading="lazy" sizes="auto" style="width: 0px" data-ref="ref1"></picture> | PASS | PASS | PASS | FAIL | FAIL | — |
| <img loading="lazy" sizes="auto" data-ref="ref2" srcset="/images/green-1x1.png?img14 50w, /images/green-16x16.png?img14 51w"> | PASS | PASS | PASS | PASS | PASS | — |
| <picture><source srcset="/images/green-1x1.png?picture14 50w, /images/green-16x16.png?picture14 51w"><img loading="lazy" sizes="auto" data-ref="ref2"></picture> | PASS | PASS | PASS | PASS | PASS | — |
| <img loading="lazy" sizes="auto, 100vw" width="10" data-ref="ref1" srcset="/images/green-1x1.png?img15 50w, /images/green-16x16.png?img15 51w"> | PASS | PASS | PASS | FAIL | FAIL | — |
| <picture><source srcset="/images/green-1x1.png?picture15 50w, /images/green-16x16.png?picture15 51w"><img loading="lazy" sizes="auto, 100vw" width="10" data-ref="ref1"></picture> | PASS | PASS | PASS | FAIL | FAIL | — |
| <img loading="lazy" sizes="100vw, auto" width="10" data-ref="ref2" srcset="/images/green-1x1.png?img16 50w, /images/green-16x16.png?img16 51w"> | PASS | PASS | PASS | PASS | PASS | — |
| <picture><source sizes="100vw, auto" srcset="/images/green-1x1.png?picture16 50w, /images/green-16x16.png?picture16 51w"><img loading="lazy" width="10" data-ref="ref2"></picture> | PASS | PASS | PASS | PASS | PASS | — |
| <img loading="eager" sizes="auto" width="10" data-ref="ref2" srcset="/images/green-1x1.png?img17 50w, /images/green-16x16.png?img17 51w"> | PASS | PASS | PASS | PASS | PASS | — |
| <picture><source srcset="/images/green-1x1.png?picture17 50w, /images/green-16x16.png?picture17 51w"><img loading="eager" sizes="auto" width="10" data-ref="ref2"></picture> | PASS | PASS | PASS | PASS | PASS | — |
| <img loading="lazy" sizes="auto" width="100%" data-ref="ref1" srcset="/images/green-1x1.png?img18 50w, /images/green-16x16.png?img18 51w"> | PASS | PASS | PASS | FAIL | FAIL | — |
| <picture><source srcset="/images/green-1x1.png?picture18 50w, /images/green-16x16.png?picture18 51w"><img loading="lazy" sizes="auto" width="100%" data-ref="ref1"></picture> | PASS | PASS | PASS | FAIL | FAIL | — |
| <img loading="lazy" sizes="auto" width="100%" data-ref="ref2" srcset="/images/green-1x1.png?img19 50w, /images/green-16x16.png?img19 51w"> | PASS | PASS | PASS | PASS | PASS | — |
| <picture><source srcset="/images/green-1x1.png?picture19 50w, /images/green-16x16.png?picture19 51w"><img loading="lazy" sizes="auto" width="100%" data-ref="ref2"></picture> | PASS | PASS | PASS | PASS | PASS | — |
| <img loading="lazy" sizes="auto" style="height: 10px; aspect-ratio: 10 / 10" data-ref="ref1" srcset="/images/green-1x1.png?img20 50w, /images/green-16x16.png?img20 51w"> | PASS | PASS | PASS | FAIL | FAIL | — |
| <picture><source srcset="/images/green-1x1.png?picture20 50w, /images/green-16x16.png?picture20 51w"><img loading="lazy" sizes="auto" style="height: 10px; aspect-ratio: 10 / 10" data-ref="ref1"></picture> | PASS | PASS | PASS | FAIL | FAIL | — |
| <img loading="lazy" sizes="auto" style="height: 10px; aspect-ratio: 500 / 10" data-ref="ref2" srcset="/images/green-1x1.png?img21 50w, /images/green-16x16.png?img21 51w"> | PASS | PASS | PASS | PASS | PASS | — |
| <picture><source srcset="/images/green-1x1.png?picture21 50w, /images/green-16x16.png?picture21 51w"><img loading="lazy" sizes="auto" style="height: 10px; aspect-ratio: 500 / 10" data-ref="ref2"></picture> | PASS | PASS | PASS | PASS | PASS | — |
| <img loading="lazy" sizes="auto" style="min-height: 10px; aspect-ratio: 10 / 10" data-ref="ref1" srcset="/images/green-1x1.png?img22 50w, /images/green-16x16.png?img22 51w"> | PASS | PASS | PASS | FAIL | FAIL | — |
| <picture><source srcset="/images/green-1x1.png?picture22 50w, /images/green-16x16.png?picture22 51w"><img loading="lazy" sizes="auto" style="min-height: 10px; aspect-ratio: 10 / 10" data-ref="ref1"></picture> | PASS | PASS | PASS | FAIL | FAIL | — |
| <img loading="lazy" sizes="auto" style="min-height: 10px; aspect-ratio: 500 / 10" data-ref="ref2" srcset="/images/green-1x1.png?img23 50w, /images/green-16x16.png?img23 51w"> | PASS | PASS | PASS | PASS | PASS | — |
| <picture><source srcset="/images/green-1x1.png?picture23 50w, /images/green-16x16.png?picture23 51w"><img loading="lazy" sizes="auto" style="min-height: 10px; aspect-ratio: 500 / 10" data-ref="ref2"></picture> | PASS | PASS | PASS | PASS | PASS | — |
| <img loading="lazy" sizes="auto" style="inline-size: 10px" data-ref="ref1" srcset="/images/green-1x1.png?img24 50w, /images/green-16x16.png?img24 51w"> | PASS | PASS | PASS | FAIL | FAIL | — |
| <picture><source srcset="/images/green-1x1.png?picture24 50w, /images/green-16x16.png?picture24 51w"><img loading="lazy" sizes="auto" style="inline-size: 10px" data-ref="ref1"></picture> | PASS | PASS | PASS | FAIL | FAIL | — |
| <img loading="lazy" sizes="auto" style="min-inline-size: 10px" data-ref="ref2" srcset="/images/green-1x1.png?img25 50w, /images/green-16x16.png?img25 51w"> | PASS | PASS | PASS | PASS | PASS | — |
| <picture><source srcset="/images/green-1x1.png?picture25 50w, /images/green-16x16.png?picture25 51w"><img loading="lazy" sizes="auto" style="min-inline-size: 10px" data-ref="ref2"></picture> | PASS | PASS | PASS | PASS | PASS | — |
| <img loading="lazy" sizes="auto" style="block-size: 10px; aspect-ratio: 10 / 10" data-ref="ref1" srcset="/images/green-1x1.png?img26 50w, /images/green-16x16.png?img26 51w"> | PASS | PASS | PASS | FAIL | FAIL | — |
| <picture><source srcset="/images/green-1x1.png?picture26 50w, /images/green-16x16.png?picture26 51w"><img loading="lazy" sizes="auto" style="block-size: 10px; aspect-ratio: 10 / 10" data-ref="ref1"></picture> | PASS | PASS | PASS | FAIL | FAIL | — |
| <img loading="lazy" sizes="auto" style="min-block-size: 10px; aspect-ratio: 10 / 10" data-ref="ref1" srcset="/images/green-1x1.png?img27 50w, /images/green-16x16.png?img27 51w"> | PASS | PASS | PASS | FAIL | FAIL | — |
| <picture><source srcset="/images/green-1x1.png?picture27 50w, /images/green-16x16.png?picture27 51w"><img loading="lazy" sizes="auto" style="min-block-size: 10px; aspect-ratio: 10 / 10" data-ref="ref1"></picture> | PASS | PASS | PASS | FAIL | FAIL | — |
| <img loading="lazy" sizes="auto" style="block-size: 10px; writing-mode: vertical-rl" data-ref="ref1" srcset="/images/green-1x1.png?img28 50w, /images/green-16x16.png?img28 51w"> | PASS | PASS | PASS | FAIL | FAIL | — |
| <picture><source srcset="/images/green-1x1.png?picture28 50w, /images/green-16x16.png?picture28 51w"><img loading="lazy" sizes="auto" style="block-size: 10px; writing-mode: vertical-rl" data-ref="ref1"></picture> | PASS | PASS | PASS | FAIL | FAIL | — |
| <img loading="lazy" sizes="auto" style="min-block-size: 10px; writing-mode: vertical-rl" data-ref="ref2" srcset="/images/green-1x1.png?img29 50w, /images/green-16x16.png?img29 51w"> | PASS | PASS | PASS | PASS | PASS | — |
| <picture><source srcset="/images/green-1x1.png?picture29 50w, /images/green-16x16.png?picture29 51w"><img loading="lazy" sizes="auto" style="min-block-size: 10px; writing-mode: vertical-rl" data-ref="ref2"></picture> | PASS | PASS | PASS | PASS | PASS | — |
| <img loading="lazy" sizes="auto" style="inline-size: 10px; aspect-ratio: 10/10; writing-mode: vertical-rl" data-ref="ref1" srcset="/images/green-1x1.png?img30 50w, /images/green-16x16.png?img30 51w"> | PASS | PASS | PASS | FAIL | FAIL | — |
| <picture><source srcset="/images/green-1x1.png?picture30 50w, /images/green-16x16.png?picture30 51w"><img loading="lazy" sizes="auto" style="inline-size: 10px; aspect-ratio: 10/10; writing-mode: vertical-rl" data-ref="ref1"></picture> | PASS | PASS | PASS | FAIL | FAIL | — |
| <img loading="lazy" sizes="auto" style="min-inline-size: 10px; aspect-ratio: 10/10; writing-mode: vertical-rl" data-ref="ref1" srcset="/images/green-1x1.png?img31 50w, /images/green-16x16.png?img31 51w"> | PASS | PASS | PASS | FAIL | FAIL | — |
| <picture><source srcset="/images/green-1x1.png?picture31 50w, /images/green-16x16.png?picture31 51w"><img loading="lazy" sizes="auto" style="min-inline-size: 10px; aspect-ratio: 10/10; writing-mode: vertical-rl" data-ref="ref1"></picture> | PASS | PASS | PASS | FAIL | FAIL | — |
| <img loading="lazy" sizes="auto" style="--my-width: 10px; width: var(--my-width)" data-ref="ref1" srcset="/images/green-1x1.png?img32 50w, /images/green-16x16.png?img32 51w"> | PASS | PASS | PASS | FAIL | FAIL | — |
| <picture><source srcset="/images/green-1x1.png?picture32 50w, /images/green-16x16.png?picture32 51w"><img loading="lazy" sizes="auto" style="--my-width: 10px; width: var(--my-width)" data-ref="ref1"></picture> | PASS | PASS | PASS | FAIL | FAIL | — |
| <img loading="lazy" sizes="auto" style="width: calc(5px + 5px)" data-ref="ref1" srcset="/images/green-1x1.png?img33 50w, /images/green-16x16.png?img33 51w"> | PASS | PASS | PASS | FAIL | FAIL | — |
| <picture><source srcset="/images/green-1x1.png?picture33 50w, /images/green-16x16.png?picture33 51w"><img loading="lazy" sizes="auto" style="width: calc(5px + 5px)" data-ref="ref1"></picture> | PASS | PASS | PASS | FAIL | FAIL | — |
| <img loading="lazy" sizes="auto" style="position: absolute; left: 50%; right: 49%" data-ref="ref2" srcset="/images/green-1x1.png?img34 50w, /images/green-16x16.png?img34 51w"> | PASS | PASS | PASS | PASS | PASS | — |
| <picture><source srcset="/images/green-1x1.png?picture34 50w, /images/green-16x16.png?picture34 51w"><img loading="lazy" sizes="auto" style="position: absolute; left: 50%; right: 49%" data-ref="ref2"></picture> | PASS | PASS | PASS | PASS | PASS | — |
| <img loading="lazy" sizes="(max-width: 0px) 10px, auto" style="width: 10px" data-ref="ref2" srcset="/images/green-1x1.png?img35 50w, /images/green-16x16.png?img35 51w"> | FAIL | PASS | PASS | PASS | PASS | — |
| <picture><source sizes="(max-width: 0px) 10px, auto" srcset="/images/green-1x1.png?picture35 50w, /images/green-16x16.png?picture35 51w"><img loading="lazy" style="width: 10px" data-ref="ref2"></picture> | FAIL | PASS | PASS | PASS | PASS | — |
| <img loading="lazy" sizes="(min-width: 0px) auto" style="width: 10px" data-ref="ref2" srcset="/images/green-1x1.png?img36 50w, /images/green-16x16.png?img36 51w"> | PASS | PASS | PASS | PASS | PASS | — |
| <picture><source sizes="(min-width: 0px) auto" srcset="/images/green-1x1.png?picture36 50w, /images/green-16x16.png?picture36 51w"><img loading="lazy" style="width: 10px" data-ref="ref2"></picture> | PASS | PASS | PASS | PASS | PASS | — |
| <img loading="lazy" sizes="(min-width: 0px) 100vw, auto" style="width: 10px" data-ref="ref2" srcset="/images/green-1x1.png?img37 50w, /images/green-16x16.png?img37 51w"> | PASS | PASS | PASS | PASS | PASS | — |
| <picture><source sizes="(min-width: 0px) 100vw, auto" srcset="/images/green-1x1.png?picture37 50w, /images/green-16x16.png?picture37 51w"><img loading="lazy" style="width: 10px" data-ref="ref2"></picture> | PASS | PASS | PASS | PASS | PASS | — |