Source code
Revision control
Copy as Markdown
Other Tools
[sizes-auto-2d.tentative.html]
expected: TIMEOUT
[<img loading="lazy" sizes="auto" width="1" height="1" style="object-fit: cover" srcset="/images/green-1x1.png?img6 50w, /images/green-16x16.png?img6 51w">]
expected: FAIL
[<img loading="lazy" sizes="auto" style="object-fit: cover" srcset="/images/green-1x1.png?img10 50w 1h, /images/green-16x16.png?img10 51w 2h">]
expected: FAIL
[<picture><source srcset="/images/green-1x1.png?picture-img-dims 50w, /images/green-16x16.png?picture-img-dims 51w"><img loading="lazy" sizes="auto" width="1" height="1" style="object-fit: cover;"></picture>]
expected: FAIL
[<picture><source srcset="/images/green-1x1.png?picture-source-dims 50w, /images/green-16x16.png?picture-source-dims 51w" width="1" height="1"><img loading="lazy" sizes="auto" width="1" height="100" style="object-fit: cover;"></picture>]
expected: FAIL
[Changing computed object-fit on an auto-sized img updates currentSrc]
expected: TIMEOUT
[Changing dimension attributes on an auto-sized img updates currentSrc]
expected: TIMEOUT