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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 23 Jan 2013 10:59:20 -0800
Message-ID: <CAAWBYDCd_fuSq-Eir5G3mEVvatLSub6aCEXKe2UdALXUCX1rDg@mail.gmail.com>
To: www-style list <www-style@w3.org>
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

Even more interestingly, it looks like WebKit has already switched its
code to use a constructor, as evidenced by this recent test check-in:

So, someone mind doing a quick edit of the spec's IDL to fix this issue?

Received on Wednesday, 23 January 2013 19:00:16 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:23 UTC