- From: Mats Palmgren <mats@mozilla.com>
- Date: Wed, 14 Jan 2015 16:14:36 +0000
- To: Aryeh Gregor <ayg@aryeh.name>
- CC: Ryosuke Niwa <rniwa@apple.com>, Koji Ishii <kojiishi@gmail.com>, Webapps WG <public-webapps@w3.org>
On 01/09/2015 12:40 PM, Aryeh Gregor wrote: > The advantage of the IE/Gecko behavior is you can alter the selection > using Range methods. The advantage of the WebKit/Blink behavior is > you can restrict the ranges in the selection in some sane fashion, > e.g., not letting them be in detached nodes. It would be easy to change Gecko to ignore addRange() calls if the range start/end node is detached. We could easily do the same for range.setStart*/setEnd* for ranges that are in the Selection. Would that address your concern about detached nodes? /Mats
Received on Wednesday, 14 January 2015 16:15:06 UTC