Click here to download the Blitz Browser!

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

ChromeFirefoxSafariLadybirdServoBlitz
Total6/66/66/66/66/6NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
ownerDocument property of a shadow root should be the document of the shadow host, regardless of the location of the shadow host.PASSPASSPASSPASSPASS
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.PASSPASSPASSPASSPASS
Elements added to a shadow tree should automatically get a valid ownerDocument.PASSPASSPASSPASSPASS
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.PASSPASSPASSPASSPASS
All children nodes of a shadow root get a valid ownerDocument when added to a shadow tree.PASSPASSPASSPASSPASS
ownerDocument property of a node should remain the same, even if its child is adopted into a shadow tree.PASSPASSPASSPASSPASS