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

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.

> 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 Thursday, 23 April 2015 01:02:20 UTC