🏠 New in Low Baseline Support: Selection composed ranges

August 19, 2025

caniuse · mdn · spec

The window.getSelection().getComposedRanges() method returns ranges that represent the current user selection, even if the selection spans across shadow tree boundaries.

Source features