| transition-property: left; |
| transition-duration: 0.5s; |
| -webkit-transition-property: left; |
| -webkit-transition-duration: 0.5s; |
| <script src="transition-end-event-helpers.js"></script> |
| <script type="text/javascript"> |
| var expectedEndEvents = [ |
| // [property-name, element-id, elapsed-time, listen] |
| ["left", "box1", 0.5, false] |
| var box = document.getElementById('box1'); |
| document.addEventListener('transitionend', recordTransitionEndEvent, false); |
| box.style.left = '200px'; |
| runTransitionTest(expectedEndEvents, setupTest); |
| <p>Initiating a transition and catching the transition unprefixed event.</p> |
| <div id="box1" class="box"></div> |