4 -webkit-perspective:
20px;
8 <div class=
"target">all
10ms
</div><br>
9 <div class=
"target">perspective
10ms
</div><br>
10 <div class=
"target">-webkit-perspective
10ms
</div><br>
12 if (window
.testRunner
) {
13 testRunner
.dumpAsText();
14 testRunner
.waitUntilDone();
17 document
.addEventListener('transitionend', function(e
) {
18 var result
= document
.createElement('div');
19 result
.textContent
= 'fired transitionend with propertyName: ' + e
.propertyName
;
20 e
.target
.appendChild(result
);
21 if (window
.testRunner
) {
22 // All events should be fired by next frame.
23 requestAnimationFrame(function() {
24 testRunner
.notifyDone();
30 var targets
= document
.querySelectorAll('.target');
31 for (var i
= 0; i
< targets
.length
; i
++) {
33 targets
[i
].style
.transition
= targets
[i
].textContent
;
34 targets
[i
].style
.webkitPerspective
= '10px';
35 targets
[i
].style
.perspective
= '10px';