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

On Oct 16, 2014, at 2:26 PM, Sylvain Galineau <galineau@adobe.com> wrote:

> hen we get to what happens when these property updates are made using keyframe rules e.g.:
> 
> 	@keyframes time-is-relative {
> 		from {...}
> 		50% { animation-duration: 1s; }
> 		to { ...}
> 	}
> 
> 	#foo { animation: time-is-relative 3s; }
> 
> I assume the answers we want here are the same as before i.e. the rest of the animation complies with the new animation properties. 

Whoops. There is an obvious wrinkle in this case which is: the new animation properties apply until either a) the animation complete or b) a subsequent keyframe rule updates them again. 

Received on Thursday, 16 October 2014 21:33:20 UTC