4 -webkit-animation: anim
1ms;
7 @-webkit-keyframes anim {
9 transform: translate3d(
0,
0,
1px);
12 transform: translate3d(
0,
0,
0);
18 if (window
.testRunner
) {
19 testRunner
.dumpAsText();
20 testRunner
.waitUntilDone();
21 document
.body
.addEventListener('webkitAnimationEnd', function() {
22 testRunner
.notifyDone();
25 document
.body
.textContent
= 'FAIL (expected if outside the virtual/threaded suite)';
26 requestAnimationFrame(function() {
27 document
.body
.classList
.add('start');
28 document
.body
.offsetTop
;
29 setTimeout(function() {
30 document
.body
.addEventListener('webkitAnimationStart', function() {
31 document
.body
.textContent
= 'PASS';