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

Re: [css3-animations] Multiple animations affecting the same property

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 22 Sep 2011 09:49:39 -0700
To: Øyvind Stenhaug <oyvinds@opera.com>
Cc: www-style@w3.org
Message-ID: <20110922164939.GA6677@pickering.dbaron.org>
On Thursday 2011-09-22 17:14 +0200, Øyvind Stenhaug wrote:
> On Thu, 22 Sep 2011 16:36:15 +0200, Øyvind Stenhaug
> <oyvinds@opera.com> wrote:
> 
> >http://dev.w3.org/csswg/css3-animations/#animations
> >
> >"In the case of multiple animations specifying behavior for the
> >same property, the animation defined last will override the
> >previously defined animations."
> >
> >I found this rather unclear. It should probably say something like
> >
> >"If at one point in time there are multiple animations specifying
> >behavior for the same property, the animation whose name occurs
> >last in the value of 'animation-name' will override the other
> >animations at that point."
> 
> Actually, might need to qualify that sentence further, since it
> should presumably only be about animations that actually apply (are
> associated with valid keyframes).

I'm not sure what you mean by "are associated with valid keyframes"
-- but I think it might be wrong.  (I originally misunderstood the
spec here, since it's *extremely* unclear.)  The set of properties
that an animation applies to doesn't change over the course of an
animation.  See
http://lists.w3.org/Archives/Public/www-style/2011Apr/0381.html
and other messages in that thread.

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Thursday, 22 September 2011 16:50:26 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:44 GMT