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

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