Click here to download the Blitz Browser!

WPT

wpt / css / selectors / invalidation / host-has-shadow-tree-element-at-nonsubject-position.html

Spec: Selectors ↗

Runs: Chrome 155.0.8041.0 (wpt@2c385f65e, 2026-09-04) | Firefox 157.0a1 (wpt@2c385f65e, 2026-09-04) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-a7825 (wpt@2c385f65e, 2026-09-04) | Servo Servo 0.6 (wpt@7e3d005d7, 2026-09-03) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)

View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi

ChromeFirefoxSafariLadybirdServoBlitz
Total26/2610/2625/2625/2610/260/26
SubtestChromeFirefoxSafariLadybirdServoBlitz
Initial colorPASSPASSPASSPASSPASS
Add .descendant to #shadow_childPASSFAILPASSPASSFAIL
Remove .descendant from #shadow_childPASSPASSPASSPASSPASS
Add .descendant to #shadow_descendantPASSFAILPASSPASSFAIL
Add .ancestor to #shadow_child:has(.descendant)PASSFAILPASSPASSFAIL
Remove .ancestor from #shadow_child:has(.descendant)PASSFAILPASSPASSFAIL
Add .child to #shadow_child:has(.descendant)PASSFAILPASSPASSFAIL
Remove .child from #shadow_child:has(.descendant)PASSFAILPASSPASSFAIL
Remove .descendant from #shadow_descendantPASSPASSPASSPASSPASS
Add .child to #shadow_childPASSFAILPASSPASSFAIL
Add .grand_child to #shadow_descendantPASSFAILFAILFAILFAIL
Add .host_context to #hostPASSFAILPASSPASSFAIL
Add .descendant to #shadow_descendant.grand_childPASSFAILPASSPASSFAIL
Remove .descendant from #shadow_descendant.grand_childPASSFAILPASSPASSFAIL
Remove .grand_child from #shadow_descendantPASSFAILPASSPASSFAIL
Remove .child from #shadow_childPASSPASSPASSPASSPASS
Add .child to #shadow_descendantPASSPASSPASSPASSPASS
Remove .child from #shadow_descendantPASSPASSPASSPASSPASS
Insert #first_child.descendant to shadow rootPASSFAILPASSPASSFAIL
Remove #first_child.descendant from shadow rootPASSPASSPASSPASSPASS
Insert #last_child.descendant to shadow rootPASSFAILPASSPASSFAIL
Remove #last_child.descendant from shadow rootPASSPASSPASSPASSPASS
Insert #child_in_middle.descendant before #shadow_childPASSFAILPASSPASSFAIL
Remove #child_in_middle.descendant from shadow rootPASSPASSPASSPASSPASS
Insert #grand_child.descendant before #shadow_descendantPASSFAILPASSPASSFAIL
Remove #grand_child.descendant from shadow treePASSPASSPASSPASSPASS
Uncaught JS errorFAIL