11 background-color: blue;
12 transition-property: left;
13 transition-duration:
0.5s;
14 -webkit-transition-property: left;
15 -webkit-transition-duration:
0.5s;
18 <script src=
"transition-end-event-helpers.js"></script>
19 <script type=
"text/javascript">
21 var expectedEndEvents
= [
22 // [property-name, element-id, elapsed-time, listen]
23 ["left", "box1", 0.5, false]
28 var box
= document
.getElementById('box1');
29 box
.style
.left
= '200px';
32 runTransitionTest(expectedEndEvents
, setupTest
);
37 <p>Initiating a transition and catching the transition unprefixed event with the html attribute ontransitionend.
</p>
40 <div id=
"box1" class=
"box" ontransitionend=
"recordTransitionEndEvent(event)"></div>
43 <div id=
"result"></div>