Bug 17937
| Summary: | keypress event doesn't fire for non-printable keys other than enter | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ryan Grove <ryan> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | 525.x (Safari 3.1) | ||
| Hardware: | Mac | ||
| OS: | OS X 10.5 | ||
| URL: | http://pieisgood.org/safarikeypress/ | ||
Ryan Grove
In Safari 3.1 and the latest WebKit nightly (I tested 31132), the keypress event fails to fire for non-printable keys (in other words: arrow keys, function keys, etc.). The only exception I've found so far is the enter key, for which the event fires correctly. In Safari 3.0, keypress worked as expected.
See the test page at http://pieisgood.org/safarikeypress/ for a demonstration.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Mark Rowe (bdash)
*** This bug has been marked as a duplicate of 16429 ***