Back to Chromium

Keydown Keypress PreventDefault

third_party/blink/web_tests/fast/events/keydown-keypress-preventDefault.html

150.0.7829.2228 B
Original Source

This tests that preventing the default behavior for a keydown event will prevent the keypress event from firing, and will prevent text from being inserted.
This matches IE7, but not Firefox, which still dispatches a keypress.