Re: [css3-animations] What does animation-fill-mode do when animation-iteration-count is zero?

On Feb 9, 2012, at 12:05 AM, Simon Fraser wrote:

> This issue has been logged already.
> 
> <https://www.w3.org/Bugs/Public/show_bug.cgi?id=15841>
> <http://lists.w3.org/Archives/Public/www-style/2012Feb/0077.html>
> 
> The options seem to be:
> 1. Even if the animation ends half-way through a cycle, apply the style from the final keyframe for fill.
> 2. Apply a fill style corresponding to the state of the animation when it ended, which may be half-way between keyframes.
> 
> I agree that (2) seems less surprising.

When you put it that way, (2) sounds like a much better choice. Are those the only choices?

> An alternative is to disallow fractional animation-interation-count.

But it's pretty useful apparently, so that appears to be a non-starter.

Received on Thursday, 9 February 2012 17:48:55 UTC