Changeset 148210 in webkit
- Timestamp:
- Apr 11, 2013 9:38:32 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r148205 r148210 1 2013-04-11 Brian Holt <brian.holt@samsung.com> 2 3 [Gtk] Combo boxes should be arrow-out-of-able similar to list boxes when caret-browsing is enabled. 4 https://bugs.webkit.org/show_bug.cgi?id=76796 5 6 Reviewed by Chris Fleizach. 7 8 Adding a new test to verify that it is possible to arrow out of 9 combo boxes when caret browsing is enabled. Updated failing tests 10 to reflect changed accessibility events in the DRT. 11 12 * platform/gtk/accessibility/aria-slider-required-attributes-expected.txt: Updated. 13 * platform/gtk/accessibility/caret-browsing-select-focus-expected.txt: Added. 14 * platform/gtk/accessibility/caret-browsing-select-focus.html: Added. 15 * platform/gtk/accessibility/combo-box-collapsed-selection-changed-expected.txt: Updated. 16 1 17 2013-04-11 Dirk Schulze <krit@webkit.org> 2 18 -
trunk/LayoutTests/platform/gtk/accessibility/aria-slider-required-attributes-expected.txt
r131674 r148210 1 Accessibility object emitted "focus-event = 1" / Name: "(No name)" / Role: 502 Accessibility object emitted "state-change:focused = 1" / Name: "(No name)" / Role: 503 1 Accessibility object emitted "state-change:busy = 0" / Name: "(No name)" / Role: 80 4 2 Accessibility object emitted "property-change:accessible-value" / Name: "(No name)" / Role: 50 -
trunk/LayoutTests/platform/gtk/accessibility/combo-box-collapsed-selection-changed-expected.txt
r101951 r148210 1 Accessibility object emitted "focus-event = 1" / Name: "foo" / Role: 112 Accessibility object emitted "state-change:focused = 1" / Name: "foo" / Role: 113 1 Accessibility object emitted "focus-event = 1" / Name: "bar" / Role: 11 4 2 Accessibility object emitted "state-change:focused = 1" / Name: "bar" / Role: 11 -
trunk/Source/WebCore/ChangeLog
r148209 r148210 1 2013-04-11 Brian Holt <brian.holt@samsung.com> 2 3 [Gtk] Combo boxes should be arrow-out-of-able similar to list boxes when caret-browsing is enabled. 4 https://bugs.webkit.org/show_bug.cgi?id=76796 5 6 Reviewed by Chris Fleizach. 7 8 When using caret-browsing with the right and left arrows, the 9 behaviour of menuLists should be the same as listBoxes. This means 10 not default-handling the event and passing it up the stack instead. 11 12 * html/HTMLSelectElement.cpp: 13 (WebCore::HTMLSelectElement::menuListDefaultEventHandler): 14 1 15 2013-04-11 Alexey Proskuryakov <ap@apple.com> 2 16 -
trunk/Source/WebCore/html/HTMLSelectElement.cpp
r147888 r148210 53 53 #include "RenderTheme.h" 54 54 #include "ScriptEventListener.h" 55 #include "Settings.h" 55 56 #include "SpatialNavigation.h" 56 57 #include <wtf/text/StringBuilder.h> … … 1121 1122 const Vector<HTMLElement*>& listItems = this->listItems(); 1122 1123 int listIndex = optionToListIndex(selectedIndex()); 1124 1125 // When using caret browsing, we want to be able to move the focus 1126 // out of the select element when user hits a left or right arrow key. 1127 const Frame* frame = document()->frame(); 1128 if (frame && frame->settings() && frame->settings()->caretBrowsingEnabled()) { 1129 if (keyIdentifier == "Left" || keyIdentifier == "Right") 1130 return; 1131 } 1123 1132 1124 1133 if (keyIdentifier == "Down" || keyIdentifier == "Right") -
trunk/Tools/ChangeLog
r148208 r148210 1 2013-04-11 Brian Holt <brian.holt@samsung.com> 2 3 [Gtk] Combo boxes should be arrow-out-of-able similar to list boxes when caret-browsing is enabled. 4 https://bugs.webkit.org/show_bug.cgi?id=76796 5 6 Reviewed by Chris Fleizach. 7 8 Make the Gtk window for the DRT a toplevel so that it gets the 9 focus from the window manager when the test starts. 10 11 * DumpRenderTree/gtk/DumpRenderTree.cpp: 12 (main): 13 1 14 2013-04-04 Allan Sandfeld Jensen <allan.jensen@digia.com> 2 15 -
trunk/Tools/DumpRenderTree/gtk/DumpRenderTree.cpp
r145849 r148210 1485 1485 initializeFonts(); 1486 1486 1487 window = gtk_window_new(GTK_WINDOW_ POPUP);1487 window = gtk_window_new(GTK_WINDOW_TOPLEVEL); 1488 1488 #ifdef GTK_API_VERSION_2 1489 1489 container = gtk_hbox_new(TRUE, 0);
Note: See TracChangeset
for help on using the changeset viewer.