W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2011

[whatwg] Control over selection direction

From: Aryeh Gregor <Simetrical+w3c@gmail.com>
Date: Fri, 6 May 2011 17:00:34 -0400
Message-ID: <BANLkTi=hEGo_03sJMsQMr3u9uOWeAzNU=w@mail.gmail.com>
On Tue, May 3, 2011 at 7:49 PM, Ian Hickson <ian at hixie.ch> wrote:
> I've added selectionDirection = 'forward'/'backward'/'none'. ('none' is
> the default selection direction on Mac OS.)

What does "none" mean?  If the user hits the right arrow key, does the
cursor move to the right of the last character of the selection or the
first?  What should UAs do on platforms that don't support the concept
of a "none" direction (assuming there are such)?

This is also inconsistent with Selection, which has only two
directions.  I think I vaguely remember hearing WebKit on OS X
actually has three directions for it, though . . .
Received on Friday, 6 May 2011 14:00:34 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:33 UTC