14 background-color: red;
19 background-color: green;
20 transform: translate3d(
50px,
50px,
0);
21 -webkit-box-reflect: below;
24 <script type=
"text/javascript">
25 if (window
.testRunner
)
26 testRunner
.waitUntilDone();
28 var reflectionOn
= true;
29 function toggleReflection()
31 reflectionOn
= !reflectionOn
;
32 var box
= document
.getElementById('box');
33 box
.style
.webkitBoxReflect
= reflectionOn
? 'below' : 'none';
38 window
.setTimeout(function() {
39 toggleReflection(); // remove
41 window
.setTimeout(function() {
42 toggleReflection(); // add
44 if (window
.testRunner
)
45 testRunner
.notifyDone();
50 window
.addEventListener('load', doTest
, false);
54 <!-- You should see a single green rectangle and no red below. -->
55 <div id=
"indicator"></div>