Changeset 69063 in webkit
- Timestamp:
- Oct 4, 2010 9:03:35 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r69059 r69063 1 2010-10-04 Chang Shu <chang.shu@nokia.com> 2 3 Reviewed by Antonio Gomes. 4 5 Fixed the typo that searches the wrong direction in the no-focus-node case. 6 As a result, after page is loaded, pressing key "arrowdown" will bring the 7 focus to the 1st element instead of the last element. 8 https://bugs.webkit.org/show_bug.cgi?id=46901 9 10 * fast/events/spatial-navigation/snav-1st-stop-expected.txt: Added. 11 * fast/events/spatial-navigation/snav-1st-stop.html: Added. 12 1 13 2010-10-04 Kent Tamura <tkent@chromium.org> 2 14 -
trunk/WebCore/ChangeLog
r69062 r69063 1 2010-10-04 Chang Shu <chang.shu@nokia.com> 2 3 Reviewed by Antonio Gomes. 4 5 Fixed the typo that searches the wrong direction in the no-focus-node case. 6 As a result, after page is loaded, pressing key "arrowdown" will bring the 7 focus to the 1st element instead of the last element. 8 https://bugs.webkit.org/show_bug.cgi?id=46901 9 10 Test: fast/events/spatial-navigation/snav-1st-stop.html 11 12 * page/FocusController.cpp: 13 (WebCore::FocusController::advanceFocusDirectionally): 14 1 15 2010-10-04 Simon Fraser <simon.fraser@apple.com> 2 16 -
trunk/WebCore/page/FocusController.cpp
r67238 r69063 299 299 // Just move to the first focusable node. 300 300 FocusDirection tabDirection = (direction == FocusDirectionUp || direction == FocusDirectionLeft) ? 301 FocusDirection Forward : FocusDirectionBackward;301 FocusDirectionBackward : FocusDirectionForward; 302 302 // 'initialFocus' is set to true so the chrome is not focused. 303 303 return advanceFocusInDocumentOrder(tabDirection, event, true);
Note: See TracChangeset
for help on using the changeset viewer.