- From: Cristian Talau <notifications@github.com>
- Date: Thu, 28 May 2015 22:47:42 -0700
- To: w3c/editing-explainer <editing-explainer@noreply.github.com>
Received on Friday, 29 May 2015 05:48:11 UTC
@rniwa : I agree that there is some ambiguity if we use the range. This is a more general problem that should be addressed by the Selection API spec. This occurs every time when the script sets the selection. But in the case of `beforeselectionchange` the UA already knows the user intention so it can use this information to disambiguate. For example, if the intent is `caretLineEnd` it would choose the position before line wrap. If the script requires a finer control it can call directly the (improved) Selection API. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/editing-explainer/issues/56#issuecomment-106697201
Received on Friday, 29 May 2015 05:48:11 UTC