Re: DOM3 Key events

Really?  By my testing it matches Firefox 2 behaviour on both mac and  
windows.

IE behaviour results in the keypress not being fired.

Oh, sorry, i didn't clarify (because that was just a note to be taken  
in the context of the earlier event handler definition) the textInput  
event is distinct from keypress, the sequence of events is (in vageuly  
regex-like syntax):
(keydown -> (keypress -> textInput?)?)+ -> keyup

--Oliver

On Aug 1, 2007, at 3:34 PM, Boris Zbarsky wrote:

>
> Oliver Hunt wrote:
>> * preventDefault on KeyDown will *not* prevent KeyPress events from  
>> being fired (this matches Firefox behaviour, and is needed for a  
>> couple of sites)
>
> Actually, that doesn't match current Firefox behavior.  But Firefox  
> behavior changed between Firefox Firefox 1 and 1.5 on non-Mac  
> platforms [1] and between Firefox 1.5 and Firefox 2 on Mac [2] to  
> better match IE/Windows.
>
> -Boris
>
> [1] https://bugzilla.mozilla.org/show_bug.cgi?id=167145
> [2] https://bugzilla.mozilla.org/show_bug.cgi?id=337199
>

Received on Wednesday, 1 August 2007 22:49:11 UTC