W3C home > Mailing lists > Public > www-style@w3.org > March 2012

[css3-transitions] Content attribute for transitionend event handling

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Fri, 30 Mar 2012 18:27:02 +0000
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <3C4041FF83E1E04A986B6DC50F01782907B59849@TK5EX14MBXC296.redmond.corp.microsoft.com>
Current builds of Chrome and IE10 support a prefixed ontransitionend event handler e.g.
The alert in the following simple testcase will display after 1.5s:

	<!doctype html>
	<style>
		#test {
			width: 300px;
			height:300px;
			background-color:blue;
			-webkit-transition: background-color 1.5s;
		}
		#test:hover {
			background-color:lime;
		}
	</style>
	<div id="test" onwebkittransitionend="alert('we are done')"></div>

Firefox and Opera do not, as far as I can tell, support this. As this is currently unspecified
we should discuss whether/how to make it interoperable.
Received on Friday, 30 March 2012 18:27:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:48:53 GMT