haikuwebkit/LayoutTests/fast/events/keydown-keypress-preventDef...

10 lines
265 B
Plaintext

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.
key down
key down
key down
key down