W3C home > Mailing lists > Public > www-style@w3.org > April 2015

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

From: L. David Baron <dbaron@dbaron.org>
Date: Fri, 17 Apr 2015 17:23:48 -0700
To: Sylvain Galineau <sylvaing@microsoft.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
Message-ID: <20150418002348.GA980@pescadero.dbaron.org>
On Wednesday 2013-01-23 21:15 +0000, Sylvain Galineau wrote:
> [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

Since I forgot to follow up here, this was in fact fixed on the
transitions side as well:
https://hg.csswg.org/drafts/rev/3c4df823dd45

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                          https://www.mozilla.org/   𝄂
             Before I built a wall I'd ask to know
             What I was walling in or walling out,
             And to whom I was like to give offense.
               - Robert Frost, Mending Wall (1914)

Received on Saturday, 18 April 2015 00:24:25 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:30 UTC