Created attachment 8648635 [details] BUG.png User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 Steps to reproduce: 1. Resize browser viewport to less than 550px (a height in which the image map in the following link goes off the screen when page first load) 2. Goto www.w3.org/WAI/UA/TS/html401/cp0102/0102-ONFOCUS-ONBLUR-MAP-AREA.html 3. Try Tab to focus on links Actual results: The focus got stuck on "Provision 2" link Expected results: All the links and image map links can be tab focused from top to the bottom of the page.
Severity: normal → critical
OS: Unspecified → Windows 7
Hardware: Unspecified → x86_64
Component: Untriaged → Keyboard: Navigation
Product: Firefox → Core
Not very critical, the bug exists in FF8, so it's old.
Severity: critical → normal
I can definitely confirm this bug. Forward tabbing gets stuck on "Provision 2", backwards tabbing gets stuck on the "HTML 4.01 specification" link. I don't even have to resize or do anything with my Firefox window, I just tab through. Neal, is this a possible late fall-out find from the focus management rewrite in bug 178324, or something completely different?
That this depends on the imagemap having never being visible, this is probably related to the unusual frame handling of image maps (bug 135040).
In fact, I think I remember this bug from long ago. I think we just need to ensure that the imagemap gets initialized (by calling nsImageFrame::GetImageMap) within nsFocusManager::GetNextTabbableMapArea.
You need to log in before you can comment on or make changes to this bug.