WPT
wpt / custom-elements / pseudo-class-defined.html
Spec: https://html.spec.whatwg.org/multipage/custom-elements.html ↗
Runs: Chrome 155.0.8039.0 (wpt@d0c38285b, 2026-09-03) | Firefox 157.0a1 (wpt@ed1909ed6, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-56c61 (wpt@cc4d45aa0, 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 | 24/24 | 24/24 | 24/24 | 24/24 | 18/24 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| this.matches(:defined) should not match during an upgrade | PASS | PASS | PASS | PASS | PASS | — |
| <div> should be :defined | PASS | PASS | PASS | PASS | PASS | — |
| createElement("div") should be :defined | PASS | PASS | PASS | PASS | PASS | — |
| createElementNS("http://www.w3.org/1999/xhtml", "div") should be :defined | PASS | PASS | PASS | PASS | PASS | — |
| createElementNS("http://www.w3.org/2000/svg", "div") should be :defined | PASS | PASS | PASS | PASS | FAIL | — |
| Without browsing context: createElement("div") should be :defined | PASS | PASS | PASS | PASS | PASS | — |
| Without browsing context: createElementNS("http://www.w3.org/1999/xhtml", "div") should be :defined | PASS | PASS | PASS | PASS | PASS | — |
| Without browsing context: createElementNS("http://www.w3.org/2000/svg", "div") should be :defined | PASS | PASS | PASS | PASS | FAIL | — |
| <a-a> should not be :defined | PASS | PASS | PASS | PASS | PASS | — |
| createElement("a-a") should not be :defined | PASS | PASS | PASS | PASS | PASS | — |
| createElementNS("http://www.w3.org/1999/xhtml", "a-a") should not be :defined | PASS | PASS | PASS | PASS | PASS | — |
| createElementNS("http://www.w3.org/2000/svg", "a-a") should be :defined | PASS | PASS | PASS | PASS | FAIL | — |
| Upgraded createElement("a-a") should be :defined | PASS | PASS | PASS | PASS | PASS | — |
| Upgraded createElementNS("http://www.w3.org/1999/xhtml", "a-a") should be :defined | PASS | PASS | PASS | PASS | PASS | — |
| Without browsing context: createElement("a-a") should not be :defined | PASS | PASS | PASS | PASS | PASS | — |
| Without browsing context: createElementNS("http://www.w3.org/1999/xhtml", "a-a") should not be :defined | PASS | PASS | PASS | PASS | PASS | — |
| Without browsing context: createElementNS("http://www.w3.org/2000/svg", "a-a") should be :defined | PASS | PASS | PASS | PASS | FAIL | — |
| <font-face> should be :defined | PASS | PASS | PASS | PASS | PASS | — |
| createElement("font-face") should be :defined | PASS | PASS | PASS | PASS | PASS | — |
| createElementNS("http://www.w3.org/1999/xhtml", "font-face") should be :defined | PASS | PASS | PASS | PASS | PASS | — |
| createElementNS("http://www.w3.org/2000/svg", "font-face") should be :defined | PASS | PASS | PASS | PASS | FAIL | — |
| Without browsing context: createElement("font-face") should be :defined | PASS | PASS | PASS | PASS | PASS | — |
| Without browsing context: createElementNS("http://www.w3.org/1999/xhtml", "font-face") should be :defined | PASS | PASS | PASS | PASS | PASS | — |
| Without browsing context: createElementNS("http://www.w3.org/2000/svg", "font-face") should be :defined | PASS | PASS | PASS | PASS | FAIL | — |