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 hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
test-001.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- A_10_01_02_01_T01
- A_10_01_02_01_T02
test-004.html 0 / 1 passingChrome 1 / 11 failedExempt
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
- ¶
FAILA_10_01_02_04_T01
s.getSelection is not a function
test-006.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- A_10_01_02_06_01_T01
- A_10_01_02_06_01_T02
test-007.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- A_10_01_02_06_02_T01
- A_10_01_02_06_02_T02
test-010.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- A_10_01_02_09_T01