2010-10-04 Yael Aharon <yael.aharon@nokia.com>
authorYael Aharon <yael.aharon@nokia.com>
Tue, 5 Oct 2010 05:43:54 +0000 (05:43 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Tue, 5 Oct 2010 15:21:52 +0000 (17:21 +0200)
commit867aa08683ed31bfee2ccf5b074c8c71ae116ecf
tree554be01e1551c2e4e07e4180889debcb52ce58c5
parentc99c5e7ec2a158ea77d29f9d24b945c1812ba117
2010-10-04  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Antonio Gomes.

        Spatial Navigation: Add support for <input type="radio">
        https://bugs.webkit.org/show_bug.cgi?id=46993

        * fast/events/spatial-navigation/snav-radio-expected.txt: Added.
        * fast/events/spatial-navigation/snav-radio-group-expected.txt: Added.
        * fast/events/spatial-navigation/snav-radio-group.html: Added.
        * fast/events/spatial-navigation/snav-radio.html: Added.
2010-10-04  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Antonio Gomes.

        Spatial Navigation: Add support for <input type="radio">
        https://bugs.webkit.org/show_bug.cgi?id=46993

        When using Spatial Navigation, every radio button should be focusable and
        users should be able to navigate from one button to the next without moving the selection.

        Tests: fast/events/spatial-navigation/snav-radio-group.html
               fast/events/spatial-navigation/snav-radio.html

        * html/HTMLInputElement.cpp:
        (WebCore::HTMLInputElement::isKeyboardFocusable):
        Every radio button should be keyboard focusable, if using Spatial Navigation.
        (WebCore::HTMLInputElement::defaultEventHandler):
        Disable the algorithm for selecting the next radio button within a group, if using Spatial Navigation.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69078 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/events/spatial-navigation/snav-radio-expected.txt [new file with mode: 0644]
LayoutTests/fast/events/spatial-navigation/snav-radio-group-expected.txt [new file with mode: 0644]
LayoutTests/fast/events/spatial-navigation/snav-radio-group.html [new file with mode: 0644]
LayoutTests/fast/events/spatial-navigation/snav-radio.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/html/HTMLInputElement.cpp