Bug 18157

Summary: Keypress event is not dispatched for Esc for form elements
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, eae, jasneet, mdavids, ovafai
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   

Alexey Proskuryakov
Reported 2008-03-27 13:37:16 PDT
IE dispatches both keydown and keypress for Esc (with keyCode == 27). Safari 3.1 only dispatches keydown in most cases. One exception I could find was non-text controls: when focus is on e.g. a button, Safari for Mac does dispatch both events (Safari for Windows still doesn't, however).
Attachments
Alexey Proskuryakov
Comment 1 2008-03-27 13:43:24 PDT
Alexey Proskuryakov
Comment 2 2008-04-28 22:44:56 PDT
*** Bug 18793 has been marked as a duplicate of this bug. ***
Alexey Proskuryakov
Comment 3 2009-04-03 07:18:24 PDT
*** Bug 25012 has been marked as a duplicate of this bug. ***
Alexey Proskuryakov
Comment 4 2009-04-13 03:11:52 PDT
Disambiguating with bug 25147, which is a recent regression.
Alexey Proskuryakov
Comment 5 2014-03-10 09:51:15 PDT
Note You need to log in before you can comment on or make changes to this bug.