W3C home > Mailing lists > Public > www-style@w3.org > September 2014

Re: [css-animations] Proposal for handling changes to animation-* properties while an animation is running

From: L. David Baron <dbaron@dbaron.org>
Date: Tue, 9 Sep 2014 18:14:52 +0200
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: www-style list <www-style@w3.org>
Message-ID: <20140909161452.GA16834@crum.dbaron.org>
On Tuesday 2014-09-09 09:08 -0700, Tab Atkins Jr. wrote:
> On Tue, Sep 9, 2014 at 9:04 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> > Here's the proposal: just let everything be adjustable.  The start
> > time of the animation (when the animation starts applying; when value
> > is adjusted (in the animation-* properties, or in the @keyframes
> > rule), just recompute what value the animation would be at if it had
> > always had those values, and start applying that instead.
> 
> This paragraph is nonsense.  I meant to say:
> 
> Here's the proposal: just let everything be adjustable. The start time
> of the animation (when the animation starts applying) is kept stable;
> when any value is adjusted (in the animation-* properties, or in the
> @keyframes rule), just recompute what value the animation would be at
> if it had always had those values, and start applying that instead.

And I think by "start time" here we're talking about the beginning
of the delay rather than the end of the delay; this allows
animation-delay to be adjusted dynamically.

-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, 9 September 2014 16:15:22 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:46 UTC