Baseline Newly Selection
Selection composed ranges
The window.getSelection().getComposedRanges() method returns ranges that represent the current user selection, even if the selection spans across shadow tree boundaries.
Baseline Status
Newly Available
Since 2025-08-19
First Core Launch
Safari 17
2023-09-18
Core-3 Stability
701d (1.9y)
Last: Firefox (2025-08-19)
BCD Keys Mapped
1
Group: Selection
Browser Support Timeline
Browser Support Releases
| Browser | Type | Version | Release Date |
|---|---|---|---|
| Safari | desktop | 17 | 2023-09-18 |
| Safari on iOS | mobile | 17 | 2023-09-18 |
| Chrome | desktop | 137 | 2025-05-27 |
| Chrome Android | mobile | 137 | 2025-05-27 |
| Edge | desktop | 137 | 2025-05-29 |
| Firefox | desktop | 142 | 2025-08-19 |
| Firefox for Android | mobile | 142 | 2025-08-19 |
Constituent MDN BCD Keys (Sample)
| BCD Key | Area | Core-3 TTA |
|---|---|---|
| api.Selection.getComposedRanges | DOM API | 701d (1.9y) |