WPT
wpt / dom / nodes / attach-shadow-realm-after-adoption.html
Spec: DOM ↗
Runs: Chrome 155.0.8043.0 (wpt@b89af32bc, 2026-09-05) | Firefox 157.0a1 (wpt@b89af32bc, 2026-09-05) | Safari 251 preview (wpt@b89af32bc, 2026-09-05) | Ladybird 1.0-ca509 (wpt@b89af32bc, 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 | 3/5 | 5/5 | 5/5 | 5/5 | 5/5 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| Precondition (built-in host): node document and relevant realm differ after adoption | PASS | PASS | PASS | PASS | PASS | — |
| attachShadow() on an adopted built-in host: shadow root uses the node document realm | FAIL | PASS | PASS | PASS | PASS | — |
| Precondition (custom element host): node document and relevant realm differ after adoption | PASS | PASS | PASS | PASS | PASS | — |
| attachShadow() on an adopted custom element host: shadow root uses the node document realm | FAIL | PASS | PASS | PASS | PASS | — |
| attachShadow() invoked via another realm's method uses the node document realm | PASS | PASS | PASS | PASS | PASS | — |