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

On Thu, Sep 4, 2014 at 6:07 PM, Brian Birtles <bbirtles@mozilla.com> wrote:
> 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

Indeed. There are a handful of "indeterminate forms" in the real
numbers+infinity standard system, of which this is one.  These
expressions literally do not have a value; any value you give them
would produce a contradiction somewhere else, so they instead are
simply treated as invalid expressions.

~TJ

Received on Friday, 5 September 2014 04:09:27 UTC