W3C home > Mailing lists > Public > www-style@w3.org > October 2011

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

From: L. David Baron <dbaron@dbaron.org>
Date: Tue, 4 Oct 2011 09:13:53 -0700
To: Øyvind Stenhaug <oyvinds@opera.com>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <20111004161353.GA12448@pickering.dbaron.org>
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 GMT

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