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.
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.
<rdar://problem/4300202> Javascript event keyCode/charCode/which is 25 for shift+tab, should be 9 (5678)
Comment on attachment 4641 [details] fix handling of character codes for tab r=me
Mass moving XML DOM bugs to the "DOM" Component.