- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Fri, 29 Aug 2014 08:57:10 +1000
- To: Sylvain Galineau <galineau@adobe.com>
- Cc: "<www-style@w3.org>" <www-style@w3.org>
On Fri, Aug 29, 2014 at 2:27 AM, Sylvain Galineau <galineau@adobe.com> wrote: > 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 Both sound correct to me. (And really, seem to be the only reasonable options.) ~TJ
Received on Thursday, 28 August 2014 22:57:56 UTC