Web platform features explorer

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.

Status

Baseline Newly Available (since 2025-08-19)

This feature is expected to reach Baseline Widely Available status on: 2028-02-19

Browser support

  • Chrome 137 Released on 2025-05-27
  • Chrome Android 137 Released on 2025-05-27
  • Edge 137 Released on 2025-05-29
  • Firefox 142 Released on 2025-08-19
  • Firefox for Android 142 Released on 2025-08-19
  • Safari 17 Released on 2023-09-18
  • Safari on iOS 17 Released on 2023-09-18

Usage (according to Chrome Platform Status)

~0.002% of page loads. More data at chromestatus.