[css3-transitions] Content attribute for transitionend event handling

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 UTC