Click here to download the Blitz Browser!

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

ChromeFirefoxSafariLadybirdServoBlitz
Total13/1313/133/131/134/13NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
Custom element that is removed during sanitization.PASSPASSFAILFAILFAIL
Custom element that is allowed.PASSPASSFAILFAILPASS
Custom element via is-attribute, where is attribute is not default-allowed.PASSPASSFAILFAILFAIL
Custom element via is-attribute, where is attribute is removed.PASSPASSFAILFAILFAIL
Custom element via is-attribute, where is attribute is removed but the custom element would have been allowed.PASSPASSFAILFAILFAIL
Custom element with an is-attribute, where the is=-attribute is blocked.PASSPASSFAILFAILPASS
Custom element via is-attribute, where is attribute is allowed, but the element is not.PASSPASSFAILFAILFAIL
Custom element via is-attribute, where is attribute is allowed, but the element is removed.PASSPASSFAILFAILFAIL
Custom element via is-attribute, where is attribute is allowed, but the element is replaced.PASSPASSFAILFAILFAIL
Custom element via is-attribute with unsafe, where is attribute is not default-allowed.PASSPASSPASSFAILFAIL
Sanity check, that is= processing still works when allowed.PASSPASSFAILFAILPASS
Custom element via is-attribute on script element, where is attribute is not allowed.PASSPASSPASSFAILFAIL
Custom element via is-attribute on html element, where is attribute is not default-allowed.PASSPASSPASSPASSPASS