Re: [css-animations] animationend events and display: none

> On 23 Apr 2015, at 11:01 am, Brian Birtles <bbirtles@mozilla.com> wrote:
> 
> On 2015/04/22 15:27, Shane Stephens wrote:
>> If a subtree becomes display: none, should previously active animations
>> in that subtree have animationend events delivered or not?
> 
> I think not. I'm pretty sure we will need to add transitioncancel and animationcancel events in a future level of CSS Transitions and CSS Animations and this sounds like a scenario where we would dispatch animationcancel. animationend should be reserved for successful completion.

I agree, on both points. cancel events would be helpful.

Dean

> 
>> Currently, I think Firefox delivers events while Chrome does not.
> 
> I'd suggest Firefox is wrong in that case. Note that we changed this behavior in Firefox 39 (i.e. the current Developer Edition aka Aurora).[1]
> 
> Best regards,
> 
> Brian
> 
> [1] https://bugzilla.mozilla.org/show_bug.cgi?id=962594
> 

Received on Wednesday, 29 April 2015 01:00:14 UTC