| transition-property: transform; |
| transition-duration: 0.5s; |
| transform: translate(100px); |
| <script src="transition-end-event-helpers.js"></script> |
| <script type="text/javascript"> |
| var expectedEndEvents = [ |
| // [property-name, element-id, elapsed-time, listen] |
| ["transform", "box1", 0.5, true] |
| var box = document.getElementById('box1'); |
| box.style.transform = 'translate(200px)'; |
| runTransitionTest(expectedEndEvents, setupTest); |
| <p>Initiating a 500ms transition on the transform property of box1.</p> |
| <div id="box1" class="box"></div> |