Changeset 145276 in webkit
- Timestamp:
- Mar 8, 2013 3:27:11 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r145201 r145276 1 2013-03-08 Chandra Shekar Vallala <brk376@motorola.com> 2 3 [chromium] Keydown event for 'shift+alt' returns win keycode instead of 'alt' 4 https://bugs.webkit.org/show_bug.cgi?id=111112 5 6 Reviewed by Tony Chang. 7 8 Return windows keycode of Alt incase of GDK_META_L, GDK_META_R. 9 10 Try press Shift then alt key. The test passes if the shiftKey, altKey values 11 of JSKeyEvent are true and keycode/which is 18. 12 13 * ManualTests/shift-alt-key-event.html: Added. 14 1 15 2013-03-08 Zan Dobersek <zdobersek@igalia.com> 2 16 -
trunk/Source/WebCore/ChangeLog
r145268 r145276 1 2013-03-08 Chandra Shekar Vallala <brk376@motorola.com> 2 3 [chromium] Keydown event for 'shift+alt' returns win keycode instead of 'alt' 4 https://bugs.webkit.org/show_bug.cgi?id=111112 5 6 Reviewed by Tony Chang. 7 8 Return windows keycode of Alt incase of GDK_META_L, GDK_META_R. This matches 9 the firefox behaviour in linux platform. 10 11 Added Manual Test : ManualTests/shift-alt-key-event.html 12 Try press Shift then alt key. The test passes if the shiftKey, altKey values 13 of JSKeyEvent are true and keycode/which is 18. 14 15 * platform/chromium/KeyCodeConversionGtk.cpp: 16 (WebCore::windowsKeyCodeForKeyEvent): 17 1 18 2013-03-08 Mike West <mkwst@chromium.org> 2 19 -
trunk/Source/WebCore/platform/chromium/KeyCodeConversionGtk.cpp
r144821 r145276 119 119 return VKEY_APPS; // (5D) Applications key (Natural keyboard) 120 120 case GDK_Alt_L: 121 case GDK_Meta_L: 121 122 return VKEY_LMENU; // (A4) Left ALT key 122 123 case GDK_Alt_R: 124 case GDK_Meta_R: 123 125 case GDK_ISO_Level3_Shift: 124 126 return VKEY_RMENU; // (A5) Right ALT key … … 286 288 case GDK_Z: 287 289 return VKEY_Z; // (5A) Z key case 'z': case 'Z': return 0x5A; 288 case GDK_Meta_L:289 290 case GDK_Super_L: 290 291 return VKEY_LWIN; // (5B) Left Windows key (Microsoft Natural keyboard) 291 case GDK_Meta_R:292 292 case GDK_Super_R: 293 293 return VKEY_RWIN; // (5C) Right Windows key (Natural keyboard)
Note: See TracChangeset
for help on using the changeset viewer.