RESOLVED FIXED Bug 5678
Javascript event keyCode/charCode/which is 25 for shift-tab, should be 9
https://bugs.webkit.org/show_bug.cgi?id=5678
Summary Javascript event keyCode/charCode/which is 25 for shift-tab, should be 9
Darin Adler
Reported 2005-11-09 08:17:26 PST
When capturing a keypress in Safari with Javascript, shift+tab has the value 25, when Mozilla uses 9. * STEPS TO REPRODUCE 1. Open attached test page in Safari and Firefox. 2. Type tab in text box. See values of key codes is 9, shiftKey is false; 3. Type shift+tab in text box. Value is 9 in Firefox, 25 in Safari. * RESULTS Value should be 9.
Attachments
fix handling of character codes for tab (1.04 KB, patch)
2005-11-09 08:18 PST, Darin Adler
ggaren: review+
Darin Adler
Comment 1 2005-11-09 08:18:43 PST
Created attachment 4641 [details] fix handling of character codes for tab AppKit has special values for tab. This patch makes sure we always use ASCII 9, even for shift-Tab.
Darin Adler
Comment 2 2005-11-09 08:27:19 PST
<rdar://problem/4300202> Javascript event keyCode/charCode/which is 25 for shift+tab, should be 9 (5678)
Geoffrey Garen
Comment 3 2005-11-09 09:29:43 PST
Comment on attachment 4641 [details] fix handling of character codes for tab r=me
Lucas Forschler
Comment 4 2019-02-06 09:03:54 PST
Mass moving XML DOM bugs to the "DOM" Component.
Note You need to log in before you can comment on or make changes to this bug.