3 <title>Transition End Events
</title>
4 <style type=
"text/css" media=
"screen">
11 background-color: blue;
12 -webkit-transition-property: left;
13 -webkit-transition-duration:
0.5s;
16 <script src=
"transition-end-event-helpers.js" type=
"text/javascript" charset=
"utf-8"></script>
17 <script type=
"text/javascript" charset=
"utf-8">
19 var expectedEndEvents = [
20 // [property-name, element-id, elapsed-time, listen]
26 var box = document.getElementById('box1');
27 box.style.left = '
200px';
30 runTransitionTest(expectedEndEvents,
0.7, setupTest);
36 <p>Initiating a
500ms transition on the left property of box1.
</p>
39 <div id=
"box1" class=
"box" onwebkittransitionend=
"recordTransitionEndEvent(event);"></div>
42 <div id=
"result"></div>