Bug 18157
| Summary: | Keypress event is not dispatched for Esc for form elements | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> |
| Component: | Forms | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
<rdar://problem/5826159>
Alexey Proskuryakov
*** Bug 18793 has been marked as a duplicate of this bug. ***
Alexey Proskuryakov
*** Bug 25012 has been marked as a duplicate of this bug. ***
Alexey Proskuryakov
Disambiguating with bug 25147, which is a recent regression.
Alexey Proskuryakov
This was fixed in <http://trac.webkit.org/changeset/165356>.