WPT
wpt / shadow-dom / untriaged / shadow-trees / upper-boundary-encapsulation / ownerdocument-001.html
Spec: DOM ↗
Runs: Chrome 155.0.8041.0 (wpt@18be93235, 2026-09-04) | Firefox 157.0a1 (wpt@18be93235, 2026-09-04) | Safari 251 preview (wpt@2c385f65e, 2026-09-04) | Ladybird 1.0-70fb3 (wpt@0c9001c53, 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 | 6/6 | 6/6 | 6/6 | 6/6 | 6/6 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| ownerDocument property of a shadow root should be the document of the shadow host, regardless of the location of the shadow host. | PASS | PASS | PASS | PASS | PASS | — |
| ownerDocument property of elements in a shadow tree should match the document of the shadow host, regardless of the element's location in a shadow tree. | PASS | PASS | PASS | PASS | PASS | — |
| Elements added to a shadow tree should automatically get a valid ownerDocument. | PASS | PASS | PASS | PASS | PASS | — |
| ownerDocument property of an element in a shadow tree should be the document of the shadow host, even if the host element is created from another document. | PASS | PASS | PASS | PASS | PASS | — |
| All children nodes of a shadow root get a valid ownerDocument when added to a shadow tree. | PASS | PASS | PASS | PASS | PASS | — |
| ownerDocument property of a node should remain the same, even if its child is adopted into a shadow tree. | PASS | PASS | PASS | PASS | PASS | — |