2010-10-04 Chang Shu <chang.shu@nokia.com>
authorchang.shu <chang.shu@nokia.com>
Tue, 5 Oct 2010 04:03:35 +0000 (04:03 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Tue, 5 Oct 2010 14:53:24 +0000 (16:53 +0200)
commitc99c5e7ec2a158ea77d29f9d24b945c1812ba117
tree567fec6fa5efbfd03c8c85df323a1748f9397137
parentcb60b0d1f829c12cb63ebba579fb4d630c0f4563
2010-10-04  Chang Shu  <chang.shu@nokia.com>

        Reviewed by Antonio Gomes.

        Fixed the typo that searches the wrong direction in the no-focus-node case.
        As a result, after page is loaded, pressing key "arrowdown" will bring the
        focus to the 1st element instead of the last element.
        https://bugs.webkit.org/show_bug.cgi?id=46901

        * fast/events/spatial-navigation/snav-1st-stop-expected.txt: Added.
        * fast/events/spatial-navigation/snav-1st-stop.html: Added.
2010-10-04  Chang Shu  <chang.shu@nokia.com>

        Reviewed by Antonio Gomes.

        Fixed the typo that searches the wrong direction in the no-focus-node case.
        As a result, after page is loaded, pressing key "arrowdown" will bring the
        focus to the 1st element instead of the last element.
        https://bugs.webkit.org/show_bug.cgi?id=46901

        Test: fast/events/spatial-navigation/snav-1st-stop.html

        * page/FocusController.cpp:
        (WebCore::FocusController::advanceFocusDirectionally):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69063 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/events/spatial-navigation/snav-1st-stop-expected.txt [new file with mode: 0644]
LayoutTests/fast/events/spatial-navigation/snav-1st-stop.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/page/FocusController.cpp