[webkit-dev] moving focus when clicking on scrollbars

Peter Kasting pkasting at chromium.org
Wed Oct 31 14:29:51 PDT 2012

On Wed, Oct 31, 2012 at 1:32 PM, Ojan Vafai <ojan at chromium.org> wrote:

> 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.

Is there rationale for Gecko's behavior?  It sounds a bit strange.

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

More information about the webkit-dev mailing list