8 -webkit-animation: slide
10s alternate linear infinite;
15 border:
1px solid black;
21 background-color: silver;
29 background-color: blue;
36 background-color: orange;
43 background-color: orange;
47 transform: translateZ(
0);
50 @-webkit-keyframes slide {
51 from { transform: none; }
52 to { transform: translateX(
100px); }
56 if (window
.testRunner
) {
57 testRunner
.dumpAsText();
58 testRunner
.waitUntilDone();
63 if (window
.testRunner
) {
64 window
.internals
.pauseAnimations(0.0);
65 document
.getElementById('layers').innerText
= window
.internals
.layerTreeAsText(document
);
66 testRunner
.notifyDone();
69 window
.addEventListener('load', runTest
, false);
74 <div id=
"to-animate" class=
"container animating">
75 <div class=
"composited banner"></div>
76 <div class=
"test1 box">Should be composited
</div>
77 <div class=
"test2 box">Should not be composited
</div>
80 <div class=
"box">Should be composited
</div>
81 <pre id=
"layers">Layer tree goes here in DRT
</pre>