[whatwg] Should scrollbars move focus?

Ojan Vafai ojan at chromium.org
Wed Oct 31 15:16:09 PDT 2012


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 at gmail.com> wrote:

> On Mon, Oct 22, 2012 at 6:28 PM, Ojan Vafai <ojan at 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
>



More information about the whatwg mailing list