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

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 UTC