W3C home > Mailing lists > Public > public-indie-ui@w3.org > December 2012

interface definitions in Events spec

From: Jason White <jason@jasonjgw.net>
Date: Tue, 4 Dec 2012 19:20:09 +1100
To: public-indie-ui <public-indie-ui@w3.org>
Message-ID: <20121204082009.GA15702@jdc.jasonjgw.net>
It's very encouraging to see that work on the draft is progressing.

I think the interfaces defined in the draft should be specified in Web IDL
(with proper syntax) to bring it into line with current W3C practice. I would
also refer to Web IDL in the document itself (normatively of course).

I am also confused by the decision to define a UIRequestEvent interface, which
differs significantly from the interfaces defined in DOM Level 3 Events
(http://www.w3.org/TR/DOM-Level-3-Events/). It seems to me that the UIEvent
interface includes all of the methods and attributes appropriate to the events
that use UIRequestEvent interface according to the current draft.

So, why not simply specify that the event objects implement UIEvent as defined
in DOM 3? In effect, we are adding event types but using the same interface.
Then the other interfaces could all inherit from UIEvent and add the necessary
attributes/methods.
Received on Tuesday, 4 December 2012 08:34:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 4 December 2012 08:34:03 GMT