RE: [css3-transitions] Switch TransitionEvent to use a constructor rather than an init* method

[Tab Atkins Jr.:]
> 
> Currently, the IDL for TransitionEvent uses the init*() method pattern for
> manually creating events.  This pattern has been generally repudiated in
> favor of simple constructors, so we should switch TransitionEvent over to
> that.
> 
> Interestingly, AnimationEvent has already been changed to use a
> constructor, so it looks like this would really just be a consistency
> sync-up.

Yes, Dominic had reported this problem and I also created a bug on the
Transitions side [1]. In retrospect I should have just fixed both. My bad.

[1] https://www.w3.org/Bugs/Public/show_bug.cgi?id=15339

Received on Wednesday, 23 January 2013 21:15:56 UTC