[webkit-dev] moving focus when clicking on scrollbars

Ojan Vafai ojan at chromium.org
Wed Oct 31 13:32:30 PDT 2012

I'd like to r+ https://bugs.webkit.org/show_bug.cgi?id=96335, but wanted to
give a heads up in case anyone wants to object.

Every native platform that has scrollbars does *not* move focus when you
click on them. Every browser engine, except Gecko, moves focus when you
click on scrollbars *unless* you're clicking on the viewport scrollbar
(e.g. clicking on the scrollbar of an scrollable div that fills the
viewport will move focus). Gecko does not move focus when you click on any
scrollbar unless you are clicking on the scrollbar of a form control (e.g.
textarea) scrollbar.

I'd like to change our behavior to either match Gecko or go fully native
and never move focus when clicking on scrollbars. The latter sounds better
to me, but either solution would satisfy me.

Any strong opinions/objections?

We've already discussed this on whatwg and the feedback has been that this
is up to browser vendors to match the platform conventions:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20121031/516ad3a4/attachment.html>

More information about the webkit-dev mailing list