WPT
wpt / html / semantics / embedded-content / the-img-element / decode / image-decode.html
Spec: HTML ↗
Runs: Chrome 155.0.8042.0 (wpt@0a3996025, 2026-09-04) | Firefox 157.0a1 (wpt@972e0e100, 2026-09-04) | Safari 251 preview (wpt@972e0e100, 2026-09-04) | Ladybird 1.0-481bc (wpt@d317428a6, 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 | 15/15 | 15/15 | 15/15 | 15/15 | 15/15 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| HTMLImageElement.prototype.decode(), basic tests. Image with PNG src decodes with undefined. | PASS | PASS | PASS | PASS | PASS | — |
| HTMLImageElement.prototype.decode(), basic tests. Image with PNG data URL src decodes with undefined. | PASS | PASS | PASS | PASS | PASS | — |
| HTMLImageElement.prototype.decode(), basic tests. Image with SVG src decodes with undefined. | PASS | PASS | PASS | PASS | PASS | — |
| HTMLImageElement.prototype.decode(), basic tests. Non-existent src fails decode. | PASS | PASS | PASS | PASS | PASS | — |
| HTMLImageElement.prototype.decode(), basic tests. Inactive document fails decode. | PASS | PASS | PASS | PASS | PASS | — |
| HTMLImageElement.prototype.decode(), basic tests. Adopted active image into inactive document fails decode. | PASS | PASS | PASS | PASS | PASS | — |
| HTMLImageElement.prototype.decode(), basic tests. Adopted inactive image into active document succeeds. | PASS | PASS | PASS | PASS | PASS | — |
| HTMLImageElement.prototype.decode(), basic tests. Corrupt image in src fails decode. | PASS | PASS | PASS | PASS | PASS | — |
| HTMLImageElement.prototype.decode(), basic tests. Image (legacy) without src/srcset fails decode. | PASS | PASS | PASS | PASS | PASS | — |
| HTMLImageElement.prototype.decode(), basic tests. Image without src/srcset fails decode. | PASS | PASS | PASS | PASS | PASS | — |
| HTMLImageElement.prototype.decode(), basic tests. Multiple decodes for images with src succeed. | PASS | PASS | PASS | PASS | PASS | — |
| HTMLImageElement.prototype.decode(), basic tests. Image with PNG srcset decodes with undefined. | PASS | PASS | PASS | PASS | PASS | — |
| HTMLImageElement.prototype.decode(), basic tests. Image with SVG srcset decodes with undefined. | PASS | PASS | PASS | PASS | PASS | — |
| HTMLImageElement.prototype.decode(), basic tests. Non-existent srcset fails decode. | PASS | PASS | PASS | PASS | PASS | — |
| HTMLImageElement.prototype.decode(), basic tests. Multiple decodes for images with srcset succeed. | PASS | PASS | PASS | PASS | PASS | — |