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

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

From: Brad Kemper <brad.kemper@gmail.com>
Date: Thu, 9 Feb 2012 09:48:21 -0800
Cc: Shane Stephens <shans@google.com>, Brian Birtles <birtles@gmail.com>, www-style@w3.org
Message-Id: <9168370D-F6CE-4A5A-87E6-0E8FEED0CB6A@gmail.com>
To: Simon Fraser <smfr@me.com>

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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:11 UTC