[whatwg] Should scrollbars move focus?

Elliott Sprehn esprehn at gmail.com
Fri Oct 26 00:17:03 PDT 2012


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