Re: [css3-animations] animation-iteration-count: 0

On Tuesday 2011-10-04 17:27 +0200, Øyvind Stenhaug wrote:
> http://dev.w3.org/csswg/css3-animations/#the-animation-iteration-count-property-
> 
> "Negative values for ‘animation-iteration-count’ are treated as zero."
> 
> Actually, this sentence is supposed to be removed or changed,
> according to
> <http://lists.w3.org/Archives/Public/www-style/2011Mar/0355.html>.
> Regardless, despite the fact that zero is mentioned here, I can't
> find any attempt at defining how it's actually supposed to be
> treated.
> 
> (Gecko sends an event for the end of the animation and sometimes
> fills forwards, WebKit does neither as far as I can tell.)

It's worth noting (since it might not be obvious -- I missed it at
first) that the property takes <number> values -- not <integer>.
Therefore it seems logical to me that animation-iteration-count:
0.00001 and animation-iteration-count: 0 should behave in similar
ways.

-David

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

Received on Tuesday, 4 October 2011 16:14:42 UTC