BASELINE NowYouCanUse.com
Web Platform Baseline Status Breakdown Total Features: 1219
Search:
Categories: All CSS (102) HTML elements (100) Selectors (46) JavaScript (43) Forms (42)
WebGL extensions (37) Text (26) WebAssembly (22) Media queries (21) Scrolling (20) Fonts (19) Performance (19) Arrays (17) Layout (17) HTML (16) Progressive web app (15) Typed arrays (14) Units (14) Canvas (13) Color types (13) Strings (13) Background (12) Media elements (12) Security (12) Animation (11) Clipping, shapes, and masking (11) Web components (11) WebXR (11) Typographic font features (10) DOM (9) Internationalization (9) Iterators (9) Reporting (9) Text wrap (9) Workers (9) Clipboard (8) CSS object models (7) Containment (7) Fetch (7) JavaScript modules (7) Print media (7) Sensors (7) Container queries (6) Explicit defaults (6) Image formats (6) Landmark elements (6) Multi-column (6) Positioning (6) Promises (6) SVG (6) Storage (6) Streams (6) Credential management (5) Custom elements (5) Font synthesis (5) HTTP (5) Lists (5) Messaging (5) Resource hints (5) Ruby (5) Selection (5) Speech (5) Transitions (CSS) (5) View transitions (5) Web audio (5) WebGL (5) Anchor positioning (4) Cookies (4) Counters (4) File system access (4) Flexbox (4) Gamepad (4) Grid (4) Images (4) Primitive types (4) Regular expressions (4) WebDriver (4) WebRTC (4) Blend mode (3) Borders and outlines (3) Geolocation (3) Gradients (3) Image scaling (3) JSON (3) Maps (3) MathML (3) Payments (3) Reading order (3) Scroll markers (3) Transforms (3) WebAuthn (3) WebGPU (3) White space (3) Worklets (3) XML (3) Collections (2) Compute pressure (2) IndexedDB (2) Parsing and serialization (2) Resource integrity (2) Sets (2) Text fragments (2) WebMCP (2) CSS environment variables (1)
Years: All 2025 2017
Showing 5 of 5 features

2025

1 features
• August 2025

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

Chrome 137
Firefox 142
Safari 17
Edge 137
Baseline Date: Aug 19, 2025

2017

1 features
• March 2017
Widely Available

The Selection API controls and modifies user text selections within the page.

Chrome 11
Firefox 52
Safari 5.1
Edge 12
Baseline Date: Mar 7, 2017

Limited Availability

3 features
• In Progress / Not Yet Baseline

The text-decoration CSS property in a ::selection rule sets the underline and other text decoration styles on the text a user has highlighted.

Chrome 105
Firefox —
Safari —
Edge 105
Status: Incomplete cross-engine support

The ::selection CSS pseudo-element selects text a user has highlighted.

Chrome 1
Firefox 62
Safari 1.1
Edge 12
Status: Incomplete cross-engine support

The createValueRange() for form elements, such as <textarea> or <input type="text">, gets an OpaqueRange object that represents a live span of text. You can use this for range-based operations on the input text, such as setting custom highlights or placing autocomplete popovers.

Chrome —
Firefox —
Safari —
Edge —
Status: Incomplete cross-engine support