Re: [css-animations] Animation events for animation-duration: 0s

On Sep 3, 2014, at 6:52 PM, Brian Birtles <bbirtles@mozilla.com> wrote:

> On 2014/08/28 23:43, Sylvain Galineau wrote:
>> Tab,
>> 
>> On 4/5, you added [1]:
>> 
>> 	# If the <time> is 0s, like the initial value,
>> 	# the keyframes of the animation have no effect,
>> 	# but the animation itself still occurs instantaneously.
>> 	# That is, animation-fill-mode applies as normal, filling
>> 	# backwards or forwards as appropriate, and animation events
>> 	# still fire.
>> 
>> Though this was rather convenient in resolving a recent issue I notice a contradiction still remains whereby the Animation Events prose still assumes a positive duration to fire start/end event. You even noted an issue about that in the same changeset. Was there a resolution for the above? We did discuss animations on 4/2 [2] but I do not see events on zero duration discussed.
> 
> I sent a message about this issue in July[1] in which I proposed we drop the "non-zero duration" condition from the events section.

In this case I tend to agree they should fire as long as both their elapsedTimes are zero.

Received on Thursday, 4 September 2014 15:20:08 UTC