W3C home > Mailing lists > Public > www-style@w3.org > August 2014

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

From: Sylvain Galineau <galineau@adobe.com>
Date: Thu, 28 Aug 2014 14:43:17 +0000
To: Tab Atkins Jr. <jackalmage@gmail.com>
CC: "<www-style@w3.org>" <www-style@w3.org>
Message-ID: <AB76A01B-965B-4054-9DD2-00FBEEA3FEE8@adobe.com>

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'm happy to try and resolve this one now but if we discussed it I wouldn't mind checking out what transpired...

[1] https://dvcs.w3.org/hg/csswg/rev/3e45563964a5
[2] http://lists.w3.org/Archives/Public/www-style/2014Apr/0016.html
Received on Thursday, 28 August 2014 14:43:55 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:43 UTC