Re: [css3-animations] can inserting a @keyframes rule start an animation?

On Monday 2013-10-07 16:36 -0700, Tab Atkins Jr. wrote:
> Yes, an animation should start.  CSS is declarative, and doesn't have
> any notion of time (except where absolutely necessary, like defining
> when precisely an animation/transition starts).
> 
> As soon as an animation-name property refers to a valid @keyframes
> rule, the animation must start.  Anything else is just introducing
> horrible time-ordering requirements into a language that doesn't
> actually *have* any time-ordering requirements.
> 
> This is identical to the behavior of font-family and @font-face.

Agreed.  I will try to clarify this in the spec.

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                          https://www.mozilla.org/   𝄂
             Before I built a wall I'd ask to know
             What I was walling in or walling out,
             And to whom I was like to give offense.
               - Robert Frost, Mending Wall (1914)

Received on Tuesday, 8 October 2013 06:17:38 UTC