W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2012

Re: [whatwg] Should scrollbars move focus?

From: Ojan Vafai <ojan@chromium.org>
Date: Wed, 31 Oct 2012 15:16:09 -0700
Message-ID: <CANMdWTvuW8-AL5JkF71RH6DiDYhznASirGxZM-Hdsk4vrju8RQ@mail.gmail.com>
To: Elliott Sprehn <esprehn@gmail.com>
Cc: WHATWG <whatwg@whatwg.org>, Ian Hickson <ian@hixie.ch>
Does anyone from Mozilla know why textarea scrollbars are special-cased in
Gecko? Would be good to know if there is a web compatibility requirement
here.


On Fri, Oct 26, 2012 at 12:17 AM, Elliott Sprehn <esprehn@gmail.com> wrote:

> On Mon, Oct 22, 2012 at 6:28 PM, Ojan Vafai <ojan@chromium.org> wrote:
> > ...
> >
> > This doesn't have to be specced, but it also doesn't really seems to be a
> > platform convention issue. The platforms that have scrollbars are all the
> > same (i.e. clicking on the scrollbar never moves focus) and no browser
> > fuller matches platform that convention. Gecko's behavior is most
> consistent
> > with that, except Gecko *does* move focus if you click on a textarea
> > scrollbar. It seems especially bad that you get a different behavior if
> you
> > click on the scrollbar of the window vs. the scrollbar of an
> overflow:auto
> > element that fills the window
>
> So what's the consensus here? Should WebKit have Gecko's behavior?
> Should we unify the world and make scrollbars never move focus even on
> <textarea>? :)
>
> - E
>
Received on Wednesday, 31 October 2012 22:16:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:11 GMT