WPT
wpt / sanitizer-api / sethtml-with-custom-elements.html
Spec: HTML Sanitizer API ↗
Runs: Chrome 155.0.8042.0 (wpt@4eb09bcd9, 2026-09-04) | Firefox 157.0a1 (wpt@c3fcbf4ba, 2026-09-04) | Safari 251 preview (wpt@e7122b73f, 2026-09-04) | Ladybird 1.0-52f0f (wpt@a1ecd0c09, 2026-09-04) | 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 | 13/13 | 13/13 | 3/13 | 1/13 | 4/13 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| Custom element that is removed during sanitization. | PASS | PASS | FAIL | FAIL | FAIL | — |
| Custom element that is allowed. | PASS | PASS | FAIL | FAIL | PASS | — |
| Custom element via is-attribute, where is attribute is not default-allowed. | PASS | PASS | FAIL | FAIL | FAIL | — |
| Custom element via is-attribute, where is attribute is removed. | PASS | PASS | FAIL | FAIL | FAIL | — |
| Custom element via is-attribute, where is attribute is removed but the custom element would have been allowed. | PASS | PASS | FAIL | FAIL | FAIL | — |
| Custom element with an is-attribute, where the is=-attribute is blocked. | PASS | PASS | FAIL | FAIL | PASS | — |
| Custom element via is-attribute, where is attribute is allowed, but the element is not. | PASS | PASS | FAIL | FAIL | FAIL | — |
| Custom element via is-attribute, where is attribute is allowed, but the element is removed. | PASS | PASS | FAIL | FAIL | FAIL | — |
| Custom element via is-attribute, where is attribute is allowed, but the element is replaced. | PASS | PASS | FAIL | FAIL | FAIL | — |
| Custom element via is-attribute with unsafe, where is attribute is not default-allowed. | PASS | PASS | PASS | FAIL | FAIL | — |
| Sanity check, that is= processing still works when allowed. | PASS | PASS | FAIL | FAIL | PASS | — |
| Custom element via is-attribute on script element, where is attribute is not allowed. | PASS | PASS | PASS | FAIL | FAIL | — |
| Custom element via is-attribute on html element, where is attribute is not default-allowed. | PASS | PASS | PASS | PASS | PASS | — |