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

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

From: L. David Baron <dbaron@dbaron.org>
Date: Mon, 7 Oct 2013 22:45:37 -0700
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Ralph Thomas <ralpht@gmail.com>, www-style list <www-style@w3.org>
Message-ID: <20131008054537.GA24134@crum.dbaron.org>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 8 October 2013 06:17:40 UTC