New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 2 users

Issue metadata

Status: WontFix
User never visited
Closed: Oct 2009
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug

  • Only users with Commit permission may comment.

Sign in to add a comment

Issue 24838: no keypress event for alt + another key

Reported by, Oct 14 2009 Project Member

Issue description

Chrome Version:
Other browsers tested: FF3
     Safari 4: OK
  Firefox 3.x: OK
         IE 7: FAIL
         IE 8: FAIL

What steps will reproduce the problem?
1. Press <alt> or <alt-enter> (or alt+anything)

What is the expected result?
Receive a keypress event.

What happens instead?
Receive a keydown and keyup event, but not keypress event.

<alt> and any following keypress with altKey selected, <alt-enter> in this 
case, appear to trigger keydown and keyup events, but not keypress events.  

This is inconsistent with Safari 4, but is consistent with IE.  Would be 
nice to have consistent behavior here across webkit browsers.

Related to:

Comment 1 by, Oct 15 2009

Status: WontFix
Working as intended. Please use keydown instead. keypress is only supposed to generate 
events when the key(s) pressed would generate content.

Comment 2 by, Oct 12 2012

Project Member
Labels: Restrict-AddIssueComment-Commit
This issue has been closed for some time. No one will pay attention to new comments.
If you are seeing this bug or have new data, please click New Issue to start a new bug.

Sign in to add a comment