WPT
wpt / domparsing / DOMParser-parseFromString-html.html
Spec: DOM Parsing and Serialization ↗
Runs: Chrome 155.0.8039.0 (wpt@6ec9fd59f, 2026-09-03) | Firefox 157.0a1 (wpt@6ec9fd59f, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-795e1 (wpt@7e3d005d7, 2026-09-03) | Servo Servo 0.6 (wpt@09159dcb3, 2026-09-02) | Blitz 188486089 (wpt@a95401e4e, 2026-09-02)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 10/10 | 10/10 | 10/10 | 10/10 | 10/10 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| Parsing of id attribute | PASS | PASS | PASS | PASS | PASS | — |
| contentType | PASS | PASS | PASS | PASS | PASS | — |
| compatMode | PASS | PASS | PASS | PASS | PASS | — |
| compatMode for a proper DOCTYPE | PASS | PASS | PASS | PASS | PASS | — |
| Location value | PASS | PASS | PASS | PASS | PASS | — |
| DOMParser parses HTML tag soup with no problems | PASS | PASS | PASS | PASS | PASS | — |
| DOMParser should handle the content of <noembed> as raw text | PASS | PASS | PASS | PASS | PASS | — |
| DOMParser throws on an invalid enum value | PASS | PASS | PASS | PASS | PASS | — |
| script is found synchronously even when there is a css import | PASS | PASS | PASS | PASS | PASS | — |
| must be parsed with scripting disabled, so noscript works | PASS | PASS | PASS | PASS | PASS | — |