[whatwg] Normalization of user selections

On Thu, Jun 16, 2011 at 12:33 PM, Ojan Vafai <ojan at chromium.org> wrote:

> On Thu, Jun 16, 2011 at 12:09 PM, Ryosuke Niwa <rniwa at webkit.org> wrote:
>> Yes, I think all selection modified by user should be normalized by
>> default.
>>  I'm talking more about programmatically set selection.  I think we'll
>> need
>> to preserve programmatically set selection ranges instead of always
>> storing
>> normalized ranges.
> I disagree. That defeats all the benefits of normalizing. Now all the code
> that handles editing can't assume normalization.

We can provide a method to normalize selection to address that issue.

- Ryosuke

Received on Friday, 17 June 2011 02:02:55 UTC