4 <title>Animating transform on large tiled layer.
</title>
5 <style type=
"text/css">
7 -webkit-transition: -webkit-transform
1s step-end
;
11 background-color: green
;
17 background-color: red
;
22 transform: translate3d
(0, -1000px, 0);
26 transform: translate3d
(0, 100%, 0);
29 <script type=
"text/javascript">
32 if (window
.testRunner
) {
33 testRunner
.useUnfortunateSynchronousResizeMode();
34 testRunner
.waitUntilDone();
35 window
.setTimeout(notifyDone
, 1200);
37 window
.onresize = function() {
38 var box
= document
.getElementById("box");
39 box
.className
= "end";
41 window
.resizeTo(1600,1200);
45 testRunner
.notifyDone();
51 The test passes if the box below turns green.
54 <div id=
"box" class=
"start"><font style=
"opacity:0">ABC
</font></div>