Re: [css3-animation] how does 'animation-duration: 0' interact with 'animation-fill-mode'?

On 01/04/2011, at 2:56 PM, L. David Baron wrote:

> http://dev.w3.org/csswg/css3-animations/#the-animation-duration-property-
> says:
>  # By default the value is ‘0’, meaning that the animation cycle is
>  # immediate (i.e. there will be no animation).

I think that's worded badly.

If the duration is 0, should that be as if no animation was applied at all?

> If this is the case, does 'animation-fill-mode' still apply?  (If it
> does, the spec should be clear on whether 'animation-delay' applies.
> Presumably 'animation-iteration-count' doesn't, though.)

There is a lot to clean up. Do events get fired? Do iteration events get fired (even if duration is 0 and iteration-count is 1 million)?

I'm not sure what the best answer here is.

Dean

Received on Saturday, 2 April 2011 00:47:45 UTC