[webkit-dev] moving focus when clicking on scrollbars

Ojan Vafai ojan at chromium.org
Wed Oct 31 14:40:17 PDT 2012


On Wed, Oct 31, 2012 at 2:29 PM, Peter Kasting <pkasting at chromium.org>wrote:

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

Not that I know of. I haven't talked to anyone at Gecko about it though. In
theory, I could conceive of the web depending on this. My preference would
be to make all scrollbars not move focus and see if there is a web compat
dependency since that solution is simpler and more consistent.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20121031/25137e2f/attachment.html>


More information about the webkit-dev mailing list