W3C home > Mailing lists > Public > www-style@w3.org > September 2014

Re: [css-animations] animation-iteration-count: infinite and animation-duration: 0s

From: Brian Birtles <bbirtles@mozilla.com>
Date: Fri, 05 Sep 2014 10:07:25 +0900
Message-ID: <54090CCD.1080809@mozilla.com>
To: Sylvain Galineau <galineau@adobe.com>
CC: "<www-style@w3.org>" <www-style@w3.org>
On 2014/09/05 8:44, Sylvain Galineau wrote:
>> Because you're effectively specifying an animation of undefined length. Is it zero? Is it infinity? Actually, mathematically, it's neither. It's NaN.
>
> Well, it's NaN for Javascript :) Anything times 0 should be 0 and oh noes now a) makes sense.

But that's not true. "Anything times 0 should be 0" doesn't hold when 
anything is infinity.[1]

[1] https://answers.yahoo.com/question/index?qid=20091024193223AAeMnFf
Received on Friday, 5 September 2014 01:07:44 UTC

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