W3C home > Mailing lists > Public > www-style@w3.org > April 2010

Re: transitions vs. animations

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 7 Apr 2010 10:57:28 -0700
Message-ID: <q2wdd0fbad1004071057r3314190fq1b98d1768f20ff1f@mail.gmail.com>
To: Chris Marrin <cmarrin@apple.com>
Cc: "www-style@w3.org list" <www-style@w3.org>
On Wed, Apr 7, 2010 at 10:50 AM, Chris Marrin <cmarrin@apple.com> wrote:
> Here's the basic problem with Animations. Currently they are triggered by two things. If animation-name changes, the animation starts (unless it changes to none in which case any current animation stops). If play-state changes animation resumes (if set to running) or stops (if set to paused). That provides a range of use cases where a change in style causes an animation to start or stop. But it doesn't provide for use cases where a one-shot animation wants to be retriggered again after it has run (as in Simon's slide+bounce use case). Solving that one problem would enable many more use cases and would bring animations closer to the transition model.

I believe I have a reasonable solution to that case in my proposal elsethread.

Received on Wednesday, 7 April 2010 17:58:20 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:34 UTC