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

[css3-animations] animation-fill-mode:forwards and fractional iteration counts

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Thu, 2 Feb 2012 01:10:57 +0000
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <3C4041FF83E1E04A986B6DC50F01782903421F63@TK5EX14MBXC295.redmond.corp.microsoft.com>
Simon pointed out before that animation-iteration-count was intended to allow fractional iterations i.e. animation-iteration-count: 2.5 [1]

As currently worded though [2], animation-fill-mode defines the 'last executing frame' as:

"...the 'to' or '100%' keyframe, unless the animation has 'animation-direction' set to 'alternate' and both a finite and even iteration count, in which case it is the 'from' or '0%' keyframe."

This seems right for integral counts, less so for fractional ones.

[1] http://lists.w3.org/Archives/Public/www-style/2011Oct/0174.html
[2] http://dev.w3.org/csswg/css3-animations/#the-animation-fill-mode-property-
Received on Thursday, 2 February 2012 01:11:41 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:55 UTC