Skip to content

Explainer for Multi-Range Selection in Chromium#1311

Open
sambandaru wants to merge 2 commits into
MicrosoftEdge:mainfrom
sambandaru:multi-range-selection
Open

Explainer for Multi-Range Selection in Chromium#1311
sambandaru wants to merge 2 commits into
MicrosoftEdge:mainfrom
sambandaru:multi-range-selection

Conversation

@sambandaru
Copy link
Copy Markdown
Contributor

@sambandaru sambandaru commented Apr 30, 2026

Adds an explainer proposing multi-range selection support in W3C Selection API spec. The spec currently mandates that addRange() no-ops when a range already exists (rangeCount capped at 1). This proposes allowing addRange() to accumulate disjoint ranges, enabling Ctrl+Click discontinuous text selection. Chromium is pursuing implementation; Gecko already ships this behavior.

Comment thread Editing/multi-range-selection-explainer.md Outdated
Comment thread Editing/multi-range-selection-explainer.md Outdated
Comment thread Editing/multi-range-selection-explainer.md Outdated
@sambandaru sambandaru force-pushed the multi-range-selection branch 2 times, most recently from 9a67e2d to c24283b Compare May 13, 2026 12:45
@sambandaru sambandaru force-pushed the multi-range-selection branch from c24283b to b8ba5f7 Compare May 13, 2026 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants