Bug 186465

Summary: Support multiple ranges selection
Product: WebKit Reporter: Ebrahim Byagowi <ebrahim>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: mitz, mmaxfield, rniwa, wenson_hsieh
Priority: P2    
Version: Safari 11   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=196480

Description Ebrahim Byagowi 2018-06-09 15:05:45 PDT
Analogous to https://bugs.chromium.org/p/chromium/issues/detail?id=851279 I believe web browsers should implement multiple ranges which does exist on Firefox for many years.

Steps to reproduce:
Select a range of text, try to select another range of text with Ctrl (See https://github.com/yoichio/public-documents/blob/master/multiranges.md also)

Expected:
Like Firefox

Actual:
Multiple text selection doesn't work.
Comment 1 Ebrahim Byagowi 2018-06-09 15:15:22 PDT
Google is interested on that https://github.com/w3c/selection-api/issues/41#issuecomment-343060585 and Firefox already has it.
Comment 2 Ryosuke Niwa 2018-06-10 01:33:57 PDT
This requires a major re-architecturing of our editing code. As much as we should do this, I don't think it'd happen in practice :(
Comment 3 Myles C. Maxfield 2018-06-18 16:06:48 PDT
Never say never ;-)