[whatwg] Making selectionDirection platform-independent

Ryosuke Niwa rniwa at webkit.org
Mon Sep 26 09:40:09 PDT 2011


On Mon, Sep 26, 2011 at 9:34 AM, Ryosuke Niwa <rniwa at webkit.org> wrote:

> On Mon, Sep 26, 2011 at 9:14 AM, Philip Rogers <pdr at google.com> wrote:
>
>> The spec (
>>
>> http://www.whatwg.org/specs/web-apps/current-work/#dom-textarea/input-selectiondirection
>> )
>> currently allows for platform-specific differences in selectionDirection
>> that limit its usefulness. Tightening the requirements to be
>> platform-independent will allow selectionDirection to be used for
>> determining the caret location in a selection.
>>
>
> No. The property is platform dependent. It's just that UAs on Windows and
> Linux don't use "none" in most cases.
>

s/platform dependent/platform independent/

Also see the discussion on
http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2011-January/029814.html

- Ryosuke.



More information about the whatwg mailing list