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

[whatwg] Control over selection direction

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 6 May 2011 21:44:05 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1105062143250.25791@ps20323.dreamhostps.com>
On Fri, 6 May 2011, Ryosuke Niwa wrote:
> On Tue, May 3, 2011 at 4: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.)
> 
> Thank you for the update!  One thing to point out is that setSelectionRange
> in WebKit currently sets "forward" direction when the argument is omitted

That's a bug in WebKit. It doesn't match platform conventions.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 6 May 2011 14:44:05 UTC

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