Changeset 71094 in webkit
- Timestamp:
- Nov 1, 2010 6:56:45 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r71093 r71094 1 2010-11-01 Chang Shu <chang.shu@nokia.com> 2 3 Reviewed by Antonio Gomes. 4 5 Leave SelectElement key handling without setting event default 6 handled when the selection reaches the boundary so focus can 7 move to neighbor nodes in spatial navigation. 8 https://bugs.webkit.org/show_bug.cgi?id=48145 9 10 * fast/events/spatial-navigation/snav-multiple-select-expected.txt: 11 * fast/events/spatial-navigation/snav-multiple-select.html: 12 1 13 2010-11-01 Dmitry Titov <dimich@chromium.org> 2 14 -
trunk/LayoutTests/fast/events/spatial-navigation/snav-multiple-select-expected.txt
r70481 r71094 2 2 4 6 3 3 8 4 FAIL gFocusedDocument.activeElement.getAttribute("id") should be 8. Was start.5 4 PASS gFocusedDocument.activeElement.getAttribute("id") is "start" 6 FAIL gFocusedDocument.activeElement.getAttribute("id") should be 2. Was start. 5 PASS gFocusedDocument.activeElement.getAttribute("id") is "start" 6 PASS gFocusedDocument.activeElement.getAttribute("id") is "start" 7 PASS gFocusedDocument.activeElement.getAttribute("id") is "8" 8 PASS gFocusedDocument.activeElement.getAttribute("id") is "start" 9 PASS gFocusedDocument.activeElement.getAttribute("id") is "start" 10 PASS gFocusedDocument.activeElement.getAttribute("id") is "start" 11 PASS gFocusedDocument.activeElement.getAttribute("id") is "2" 7 12 PASS gFocusedDocument.activeElement.getAttribute("id") is "start" 8 13 PASS gFocusedDocument.activeElement.getAttribute("id") is "6" -
trunk/LayoutTests/fast/events/spatial-navigation/snav-multiple-select.html
r69068 r71094 16 16 17 17 var resultMap = [ 18 ["Down", "start"], 19 ["Down", "start"], 20 ["Down", "start"], 18 21 ["Down", "8"], 22 ["Up", "start"], 23 ["Up", "start"], 19 24 ["Up", "start"], 20 25 ["Up", "2"], -
trunk/WebCore/ChangeLog
r71091 r71094 1 2010-11-01 Chang Shu <chang.shu@nokia.com> 2 3 Reviewed by Antonio Gomes. 4 5 Leave SelectElement key handling without setting event default 6 handled when the selection reaches the boundary so focus can 7 move to neighbor nodes in spatial navigation. 8 https://bugs.webkit.org/show_bug.cgi?id=48145 9 10 * dom/SelectElement.cpp: 11 (WebCore::SelectElement::listBoxDefaultEventHandler): 12 1 13 2010-11-01 Sheriff Bot <webkit.review.bot@gmail.com> 2 14 -
trunk/WebCore/dom/SelectElement.cpp
r69827 r71094 763 763 endIndex = previousSelectableListIndex(data, element, data.activeSelectionEndIndex()); 764 764 } 765 765 766 if (Frame* frame = element->document()->frame()) { 767 if (frame->settings() && frame->settings()->isSpatialNavigationEnabled()) { 768 // Check if the selection moves to the boundary. 769 if (keyIdentifier == "Left" || keyIdentifier == "Right" || ((keyIdentifier == "Down" || keyIdentifier == "Up") && endIndex == data.activeSelectionEndIndex())) 770 return; 771 } 772 } 773 766 774 if (keyIdentifier == "Down" || keyIdentifier == "Up") { 767 775 // Save the selection so it can be compared to the new selection when dispatching change events immediately after making the new selection.
Note: See TracChangeset
for help on using the changeset viewer.