After page is loaded, pressing key "arrowdown" should bring the focus to the 1st element. But currently, focus goes to the last element.
Created attachment 69346 [details] fix patch
will review it soon...
Chang, before we go on, could you check how Opera handles the initial focused element for (SHITF+) ARROW_{UP, DOWN}?
(In reply to comment #3) > Chang, before we go on, could you check how Opera handles the initial focused element for (SHITF+) ARROW_{UP, DOWN}? I just checked Opera and it focuses on the 1st node initially. Btw, it is a great idea to use Opera as our reference.
(In reply to comment #4) > (In reply to comment #3) > > Chang, before we go on, could you check how Opera handles the initial focused element for (SHITF+) ARROW_{UP, DOWN}? > > I just checked Opera and it focuses on the 1st node initially. Btw, it is a great idea to use Opera as our reference. Just to make it clear, in Opera, shift+down brings the focus to the 1st element and shift+up to the last element. This matches the behavior of the patch.
Comment on attachment 69346 [details] fix patch r=me
Comment on attachment 69346 [details] fix patch Clearing flags on attachment: 69346 Committed r69063: <http://trac.webkit.org/changeset/69063>
All reviewed patches have been landed. Closing bug.
Revision r69063 cherry-picked into qtwebkit-2.1 with commit c99c5e7 <http://gitorious.org/webkit/qtwebkit/commit/c99c5e7>