- From: IgnacioHR <notifications@github.com>
- Date: Fri, 13 Dec 2019 13:31:04 -0800
- To: w3c/selection-api <selection-api@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 13 December 2019 21:31:07 UTC
The current wording and the implementation on current browsers replaces the existing range on the Selection when addRange(...) is called. As a result, only one Range exists on the Selection. The example here: https://developer.mozilla.org/en-US/docs/Web/API/Selection/addRange suggest that the desired behavior is that the Selection could contain an array of Ranges instead of just one Range I can think on many other use cases such as using javascript for selecting the content of all columns in a table and add them to the Selection and later perform a copy operation... Today this functionality cannot use current selection-api specification. I would like to see what other people think about this. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/selection-api/issues/115
Received on Friday, 13 December 2019 21:31:07 UTC