W3C home > Mailing lists > Public > www-style@w3.org > January 2013

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

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Wed, 23 Jan 2013 21:15:00 +0000
To: Tab Atkins Jr. <jackalmage@gmail.com>, www-style list <www-style@w3.org>
Message-ID: <3C4041FF83E1E04A986B6DC50F0178291BF4A46A@TK5EX14MBXC221.redmond.corp.microsoft.com>
[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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:25 UTC