| -webkit-transition: background-color .15s linear; |
| background-color: hsla(0, 50%, 50%, 1); |
| if (!window.testRunner) { |
| document.getElementById('result').innerHTML = "This test must be run in DRT." |
| var current = internals.numberOfActiveAnimations(); |
| document.getElementById('result').innerHTML = "Number of active transitions is (0) as expected"; |
| document.getElementById('result').innerHTML = "Number of active transitions is (" + current + ") but was expecting (0)"; |
| testRunner.waitUntilDone(); |
| <div id="foo">This should not be continually firing transitions</span> |
| <script type="text/javascript" charset="utf-8"> |
| document.getElementById('foo').addEventListener('webkitTransitionEnd', function() { |
| setTimeout(function() { document.getElementById("foo").className="trans" }, 0); |