W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2010

[whatwg] Additional onxxxx event attributes for DOM Level3 Events

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 30 Nov 2010 22:58:22 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1011302255430.26618@ps20323.dreamhostps.com>
On Mon, 16 Aug 2010, Hajime Morita wrote:
> 
> I noticed that some events which are defined in DOM Level3 Events [1] don't have
> associated HTML attributes.
> For example, "keypress" event has associated "onkeypress" attribute.
> But "focusin" event doesn't have "onfocusin" attribute.
> 
> Here is a list:
> 
> * wheel event
> * textInput event
> * focusin event
> * focusout event
> * compositionstart event
> * compositionupdate event
> * compositionend event
> * DOMXxxx events
> 
> I think these events should have associated attributes defined.
> DOM mutation events might be better to skip due to its long name and rare usage.
> But it's just a preference and not a strong opinion.

I'm happy to add new event handler attributes, but not to add them just 
based on completeness. New features are added based on either use cases 
(i.e. problems that authors or users are facing), or compatibility (i.e. 
things that browsers already do). If there are specific events for which 
event handler attributes would be useful, I encourage you to request those 
specifically, describing either the relevant use cases or citing the 
existing implementations, as appropriate.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 30 November 2010 14:58:22 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:28 UTC