Bug 1339509 - Map ISO_Left_Tab to DOM Tab key. r=karlt, a=jcristau
authorMasayuki Nakano <masayuki@d-toybox.com>
Fri, 17 Feb 2017 16:47:35 +0900
changeset 369427 732a5221be43ac411b14b77dc4a686ac812fb495
parent 369426 8173156d60e0aaa2abf4da543fdf61c03f240a75
child 369428 4619a89b7f733e17ed7968bc7cdbcecdaaf6c9f5
push id1369
push userjlorenzo@mozilla.com
push dateMon, 27 Feb 2017 14:59:41 +0000
treeherdermozilla-release@d75a1dba431f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskarlt, jcristau
bugs1339509
milestone52.0
Bug 1339509 - Map ISO_Left_Tab to DOM Tab key. r=karlt, a=jcristau Shift + Tab key combination causes ISO_Left_Tab keysym instead of Tab. It should be mapped to DOM Tab key. MozReview-Commit-ID: IgQj7tkQdoJ
widget/NativeKeyToDOMKeyName.h
--- a/widget/NativeKeyToDOMKeyName.h
+++ b/widget/NativeKeyToDOMKeyName.h
@@ -195,16 +195,17 @@ KEY_MAP_GTK     (Enter, GDK_ISO_Enter)
 KEY_MAP_GTK     (Enter, GDK_3270_Enter)
 KEY_MAP_ANDROID (Enter, AKEYCODE_ENTER)
 KEY_MAP_ANDROID (Enter, AKEYCODE_NUMPAD_ENTER)
 
 // Tab
 KEY_MAP_WIN     (Tab, VK_TAB)
 KEY_MAP_COCOA   (Tab, kVK_Tab)
 KEY_MAP_GTK     (Tab, GDK_Tab)
+KEY_MAP_GTK     (Tab, GDK_ISO_Left_Tab) // Shift+Tab
 KEY_MAP_GTK     (Tab, GDK_KP_Tab)
 KEY_MAP_ANDROID (Tab, AKEYCODE_TAB)
 
 /******************************************************************************
  * Navigation Keys
  ******************************************************************************/
 // ArrowDown
 KEY_MAP_WIN     (ArrowDown, VK_DOWN)