This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
http://lists.w3.org/Archives/Public/www-style/2011Nov/0021.html
I think we'll just update the wording in the spec so say "every iteration other than the last"?
*** Bug 14721 has been marked as a duplicate of this bug. ***
*** Bug 15241 has been marked as a duplicate of this bug. ***
That would match Gecko and Webkit but what is the rationale for that? We could overload animationend to be also the end of the last iteration but we have to be careful how we define what the last iteration is when the iteration count is fractional. Some timeline diagrams may help here.
Current wording: # The ‘animationiteration’ event occurs at the end of each iteration # of an animation for which animation-iteration-count is greater than # one. This event does not occur for animations with an iteration count # of one. Proposed edit: # The ‘animationiteration’ event occurs at the end of each animation # iteration other than the last one. This event does not occur for # animations with an iteration count of one. Should it say 'with an iteration count of one or zero'?
Resolved using dbaron's proposal [1]: # The 'animationiteration' event occurs at the end of each # iteration of an animation, except when an 'animationend' event # would fire at the same time. This means that this event does # not occur for animations with an iteration count of one or less. http://lists.w3.org/Archives/Public/www-style/2012Apr/0235.html