13 background-color: red;
18 background-color: green;
19 -webkit-box-reflect: below;
22 <script type=
"text/javascript">
23 if (window
.testRunner
)
24 testRunner
.waitUntilDone();
26 var compositingOn
= false;
27 function toggleCompositing()
29 compositingOn
= !compositingOn
;
30 var box
= document
.getElementById('box');
31 box
.style
.transform
= compositingOn
? 'translate3d(50px, 50px, 0)'
37 window
.setTimeout(function() {
38 toggleCompositing(); // remove
40 window
.setTimeout(function() {
41 toggleCompositing(); // add
43 if (window
.testRunner
)
44 testRunner
.notifyDone();
49 window
.addEventListener('load', doTest
, false);
51 <!-- You should see a single green rectangle and no red below. -->
52 <div id=
"indicator"></div>