Re: "DOM4 Events" Proposal (was: Spec proposals for Event constructors)
Kentaro Hara <haraken <at> chromium.org>
2012-01-25 17:11:59 GMT
Regarding event constructors, the draft Jacob wrote looks great to me.
http://html5labs.com/dom4events/
If we have consensus on the spec, I think that we should move forward
to publishing it at w3.org and progressing it towards a standard.
>>> Another feature I've been considering to add to DOM4 Events is the
>>> ability to inspect the list of registered event listeners on a node.
I think this feature would be controversial. I suggest that we move
forward to publishing the spec without adding the feature for now.
Practically, I feel that we should not block the work to define event
constructors by discussions around the new features.
People have been hoping for event constructors, especially for
MouseEvent and KeyboardEvent, because they are widely used and their
init{Mouse,Keyboard}Event(...) have soooo many arguments. In addition,
other Events (i.e. Event, CustomEvent, ProgressEvent, HashChangeEvent,
MessageEvent, ErrorEvent, PageTransitionEvent, PopStateEvent and
CloseEvent) already have constructors in their specs.
Best Regards
On Tue, Jan 24, 2012 at 10:13 PM, Alex Russell <slightlyoff <at> chromium.org> wrote:
> On Thu, Oct 20, 2011 at 10:09 AM, Ian Hickson <ian <at> hixie.ch> wrote:
>> On Thu, 20 Oct 2011, Jacob Rossi wrote:
>>>
>>> Another feature I've been considering to add to DOM4 Events is the
>>> ability to inspect the list of registered event listeners on a node.
(Continue reading)