Closed Bug 888204 Opened 11 years ago Closed 11 years ago

keypress events shouldn't be dispatched if keydown event's preventDefault() is called

Categories

(Core :: DOM: Events, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 501496

People

(Reporter: masayuki, Assigned: masayuki)

Details

On both IE 10 and Google Chrome, keypress events are not fired after keydown event is consumed (its preventDefault() is called).

Additionally, keydown event definition of D3E draft defines keypress event is one of its default actions.

So, we shouldn't dispatch keypress events if keydown event is consumed.
oops...
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
No longer blocks: 887695
You need to log in before you can comment on or make changes to this bug.