[whatwg] Normalization of user selections
Ryosuke Niwa
rniwa at webkit.org
Fri Jun 17 02:02:55 PDT 2011
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
More information about the whatwg
mailing list