[webkit-dev] moving focus when clicking on scrollbars

Maciej Stachowiak mjs at apple.com
Thu Nov 1 01:42:25 PDT 2012


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

> 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: http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2012-October/037676.html.

Is our current behavior the same as the "every browser engine, except Gecko" behavior described above?

I like the idea of being more like native control behavior.

Regards,
Maciej

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


More information about the webkit-dev mailing list