Re: "DOM4 Events" Proposal (was: Spec proposals for Event constructors)

Dear Jacob,

Thank you very much for writing the spec draft!
The current draft looks great to me.


typo (semicolon after 'view' is missing):

dictionary UIEventInit : EventInit {
    views::AbstractView view;
    long detail;
}


Regards


2011年10月14日5:22 Jacob Rossi <Jacob.Rossi@microsoft.com>:

> Kentaro,
>
> Thanks for helping get the ball rolling on this! I think event constructors
> are a great idea. DOM4 has pioneered this for the Event interface [1].
> However, we should do this across all event interfaces. So we need a spec
> for the remaining ones. I think this, potentially along with other ideas
> we've had in the past [2, 3], will make up a great new spec to extend DOM L3
> Events.
>
> I've taken your suggestions and drafted them up as a part of a ""DOM4
> Events" proposal:
>
> http://html5labs.com/dom4events/
>
> I'd like to solicit feedback on what I've written so far, other possible
> features to include in scope for this proposal, and what folks think about
> bringing this in as a new specification in Web Apps. I'll start some threads
> with a couple questions I had while writing this proposal.
>
> Thanks,
>
> Jacob
>
> [1]
> http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#constructing-events
> [2] http://www.w3.org/2008/webapps/wiki/DOM3Events#Proposals
> [3] http://www.w3.org/2008/webapps/wiki/DOM_Wishlist
>
>
> > -----Original Message-----
> > From: Anne van Kesteren [mailto:annevk@opera.com]
> > Sent: Thursday, September 29, 2011 6:36 AM
> > To: www-dom@w3.org; schepers@w3.org; Jacob Rossi; Kentaro Hara
> > Cc: Dominic Cooney
> > Subject: Re: Spec proposals for Event constructors
> >
> > On Tue, 27 Sep 2011 15:56:43 +0200, Kentaro Hara <haraken@chromium.org>
> > wrote:
> > > We have been working on implementing constructors for Events:
> > >
> > > https://bugs.webkit.org/show_bug.cgi?id=67824
> > >
> > > However, some Events do not yet have the specs for their constructors.
> We
> > > would be happy if you could take a look at our spec proposals for the
> > > following DOM Level 3 Events:
> > >
> > > http://www.w3.org/Bugs/Public/show_bug.cgi?id=14050
> > >
> > > http://www.w3.org/Bugs/Public/show_bug.cgi?id=14051
> > >
> > > http://www.w3.org/Bugs/Public/show_bug.cgi?id=14052
> > >
> > > http://www.w3.org/Bugs/Public/show_bug.cgi?id=14053
> > >
> > > http://www.w3.org/Bugs/Public/show_bug.cgi?id=14054
> > >
> > > http://www.w3.org/Bugs/Public/show_bug.cgi?id=14055
> >
> > It would also be great if for the interfaces that are newly introduced we
> > do not introduce a init*Event method. CompositionEvent, TextEvent,
> > WheelEvent, can probably have it removed. UIEvent, MouseEvent, and
> > KeyboardEvent should probably carry a note about their init*Event methods
> > being strongly discouraged, as we cannot really remove those I think.
> >
> >
> > --
> > Anne van Kesteren
> > http://annevankesteren.nl/
>
>


-- 
Kentaro Hara, Tokyo, Japan (http://haraken.info)

Received on Monday, 17 October 2011 12:56:02 UTC