Manuel Razzari wrote:
> On 9/21/06, Zoe M. Gillenwater <[EMAIL PROTECTED]> wrote:
>   
>> But I'm curious whether Firefox's behavior is correct. Are elements with
>> overflow: auto supposed to receive focus?
>>     
>
> Just a random guess, but maybe here's the explanation for firefox's behavior:
> https://bugzilla.mozilla.org/show_bug.cgi?id=97283
>
> Check after comment #50.
>
> I didn't read it all, but it seems focusing is needed to make
> scrolling work within the overflowing element.
>   

I read everything from comment 50 on, and I'm just more confused. :-) 
First of all, I'm not clear if this fix is even in current versions of 
Firefox. Do you know? The last comments are still people complaining 
about the fix only being available in the nightlies and asking when it 
will be added to the released browser. So I can't tell if this bug fix 
is in the current browser.

If it is in the current browser, it probably is the explanation for why 
the overflow: auto elements receive focus. Comment 50 suggests that 
Firefox implemented the tabbing focus for overflow elements to fix this 
bug. This suggests that there is no spec that governs this behavior, but 
that it was purely a browser-based decision. If this is true (I still 
don't know), that's good to know, because that means that I can file my 
own bug about it to request that they stop this behavior. Focusing 
elements with overflow on them, even when they don't generate 
scrollbars, has the ability to affect a lot of pages if they use 
overflow for float containment. So I'd like to get that behavior changed.

Thanks,
Zoe

-- 
Zoe M. Gillenwater
Design Services Manager
UNC Highway Safety Research Center
http://www.hsrc.unc.edu


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to