- From: François REMY <fremycompany_pub@yahoo.fr>
- Date: Tue, 24 May 2011 22:07:14 +0200
- To: "Daniel Glazman" <daniel.glazman@disruptive-innovations.com>, <www-style@w3.org>
Just a question: are you assuming that only one
animation can apply to an object at the same time ?
If no, how do you deal with the cases when two
animations applying on the same object don't have
the same timing (with a pseudo-attribute) ?
Or are you restricting the use of the pseudo-attribute
withing an @animation block ? If so, what's the point
of having a pseudo attribute at all, since the only
element which is impacted by an animation is the
element that host the animation (or isn't it?).
(Sorry if I didn't correctly understood your proposal, it
seems very unclear to me what's your intent here which
is why I'm asking this.)
-----Message d'origine-----
From: Daniel Glazman
Sent: Tuesday, May 24, 2011 9:29 PM
To: www-style@w3.org
Subject: Re: [css-animations] new property suggestion:
animation-iteration-delay
Le 23/05/11 06:43, Estelle Weyl a écrit :
> @animation 'showbriefly' {
> 0%, 20%, 100% {opacity: 0;}
> 1%, 19% {opacity: 1;}
> }
Hmmmm. Nice. Loving it.
And I wonder if we should not have some new construct called
a pseudo-attribute to make sure the contents of the outer
block are style rules, in other terms selectors followed by
a block of declarations... We could then turn the above 10%
(for instance) into that pseudo-attribute and done. Something
like
[:frame="10%"] {opacity: 0;}
(don't focus on the syntax, focus on the concept please)
</Daniel>
--
W3C CSS WG, Co-chair
Received on Tuesday, 24 May 2011 20:07:25 UTC