interface definitions in Events spec

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 UTC