Re: [css3-animations] 'animation-iteration' event on last iteration

On Tuesday 2012-04-10 22:00 +0000, Sylvain Galineau wrote:
> This is a proposal to resolve the issue raised by Øyvind on www-style [1] 
> and logged in as bug 14659 [2]. 
> 
> The current prose states that:
> 
> # 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 change:
> 
> # 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 zero or one.

This wording doesn't seem to work very well for iteration counts
that are not integers.  How about:

  # 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.

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂

Received on Tuesday, 10 April 2012 22:09:04 UTC