W3C home > Mailing lists > Public > public-webapi@w3.org > August 2007

Re: DOM3 Key events

From: Maciej Stachowiak <mjs@apple.com>
Date: Wed, 1 Aug 2007 23:44:41 -0700
Cc: Web API public <public-webapi@w3.org>
Message-Id: <24BE3FE5-A0B9-4D56-B4F0-30EFCC31037D@apple.com>
To: Doug Schepers <schepers@w3.org>


On Aug 1, 2007, at 8:13 PM, Doug Schepers wrote:

>
> Hi, Oliver-
>
> Oliver Hunt wrote (on 8/1/2007 6:48 PM):
>> 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
>
> We do plan on adding keypress (though I'd like to deprecate it), and  
> will be defining the event order.

What exactly would be the point of deprecating it? Given the vast  
amount of content using it, it is highly unlikely that future  
implementations would remove it.

Regards,
Maciej
Received on Thursday, 2 August 2007 06:45:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:58 GMT