Summary: | REGRESSION: Tab order incorrect when input inside frame/iframe gets initial focus | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> | ||||||||||
Component: | Forms | Assignee: | Nobody <webkit-unassigned> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | KwhiteRight | ||||||||||
Priority: | P1 | Keywords: | EasyFix, HasReduction, InRadar, Regression | ||||||||||
Version: | 420+ | ||||||||||||
Hardware: | Mac | ||||||||||||
OS: | OS X 10.4 | ||||||||||||
Attachments: |
|
Description
David Kilzer (:ddkilzer)
2007-01-31 16:46:16 PST
Created attachment 12840 [details]
Test focus (no frames; works as expected)
Created attachment 12841 [details]
Test frame focus (does not work as expected)
Created attachment 12842 [details]
Test iframe focus (does not work as expected)
With the frame test it takes me 3 tab presses to move focus from the first <input> to the second. With the iframe test it takes me 2 tab presses to move focus from the first <input> to the second. In both test cases, Shift-Tab first moves focus to the second <input>, then back to the first, and focus moves correctly from then on. I suspect that the cause for this is HTMLInputElement::focus is not resulting in the focused frame getting set correctly. Should be a pretty simple fix. Created attachment 13177 [details]
Patch with ChangeLog and test
Comment on attachment 13177 [details]
Patch with ChangeLog and test
r=me
|