shadow-dom/untriaged/elements-and-dom-objects/shadowroot-object/shadowroot-methods/

7 / 8 WPT subtests passing

Failed
1
Timed out
0
Not run
0
Test files
5
Blocking files
0

Chrome 8 / 8 WPT subtests passing on the same files, none blocking

Tests

5 test files here

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
test-001.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. A_10_01_02_01_T01
  2. A_10_01_02_01_T02
test-004.html0 / 1 passingChrome 1 / 11 failedExempt
Standing
Exempt runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK

Exempt from the 0.1 gate: Crane follows the browser majority

Crane has no ShadowRoot.getSelection() - no specification defines it (the Selection API has getSelection() on Document and Window; a shadow tree's selection is Selection.getComposedRanges()) - as Firefox and Safari have none: the subtest fails at "s.getSelection is not a function" in all three (Safari's TypeError in JSC's wording); only Chrome ships it

Crane matches
Firefox, Safari
Chrome
wpt.fyi run 4786307730243584: 1/1 (Chrome 157, 2358bd4835)
Firefox
wpt.fyi run 4877168468033536: 0/1 (Firefox 160, 2358bd4835)
Safari
wpt.fyi run 6479119966273536: 0/1 (Safari 27.2, 2358bd4835)
Ruling
no specification; only Chrome ships it (the integrator, 2026-11-18 4:00 PM ET; lane dom1)
Revisit
when a specification defines ShadowRoot.getSelection(), or Chrome, Firefox or Safari changes its result on a newer aligned wpt.fyi run, or Crane's result moves
  1. FAILA_10_01_02_04_T01
    s.getSelection is not a function
test-006.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. A_10_01_02_06_01_T01
  2. A_10_01_02_06_01_T02
test-007.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. A_10_01_02_06_02_T01
  2. A_10_01_02_06_02_T02
test-010.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. A_10_01_02_09_T01

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.