W3C home > Mailing lists > Public > www-style@w3.org > April 2012

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

From: L. David Baron <dbaron@dbaron.org>
Date: Tue, 10 Apr 2012 15:08:14 -0700
To: Sylvain Galineau <sylvaing@microsoft.com>
Cc: "www-style@w3.org" <www-style@w3.org>, Øyvind Stenhaug <oyvinds@opera.com>
Message-ID: <20120410220814.GA9472@crum.dbaron.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:52 GMT