[whatwg] Control over selection direction

Ian Hickson ian at hixie.ch
Fri May 6 14:44:05 PDT 2011


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.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list