Newly Available
Selection
id: composed-ranges
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:
Achieved Newly Available on Aug 19, 2025 across core engines.
Desktop Browser Engine Support
Google Chrome
137
Supported
Mozilla Firefox
142
Supported
Apple Safari
17
Supported
Microsoft Edge
137
Supported
Mobile Browser Engine Support
Chrome Android
137
Firefox Android
142
Safari iOS
17
Specifications and References
MDN Browser Compat Data Keys: