W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2002

Cancelation of textInput event

From: Christian Schmidt <christian@ostenfeld.dk>
Date: Wed, 24 Apr 2002 10:17:21 -0400 (EDT)
Message-ID: <3CC6BE51.4030708@ostenfeld.dk>
To: www-dom@w3.org
I have a question regarding the draft for the DOM3 Events Spec:

If preventDefault is called on the keydown event, does this also cancel 
the following textInput event?


Example:
The key A is pressed in a text input field. preventDefault is called on 
the keydown event.  Is A displayed in the text field?  Is the textInput 
event fired?


What if preventDefault is called on the mousedown event. Is the click 
event fired?


These questions are inspired by 
<http://bugzilla.mozilla.org/show_bug.cgi?id=139421>.


Thanks,

Christian
Received on Monday, 29 April 2002 10:15:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:56 GMT