[css-animations] Interaction of negative animation-delay and animation-iteration-count

I would like to resolve bug 14807 [1] on the interactions of animation-delay and animation-iteration-count. Specifically, clarify what happens when: 

a) animation-delay is (-1 x animation-duration) e.g. 
	
	animation-duration: 5s;
	animation-delay: -5s;

b) when the animation has 2+ iterations and a negative animation delay covers more than one iteration e.g. 

	animation-duration:2s; 
	animation-iteration-count:2; 
	animation-delay:-3s;


For a), I believe it is equivalent to a zero duration i.e. the animation completes immediately.

For b) I think we should clarify that a negative animation-delay resolves against the timeline produced by animation-duration x animation-iteration-count. (We should have a name for this, incidentally). In other words, it can 'swallow' iterations i.e. in the example above the UA would only run the last second of iteration #2.

Comments? Objections? Issues?

[1] https://www.w3.org/Bugs/Public/show_bug.cgi?id=14807

Received on Thursday, 28 August 2014 16:28:21 UTC