| -webkit-transform: translate3d(50px, 50px, 0); |
| -webkit-box-reflect: below; |
| <script type="text/javascript"> |
| testRunner.waitUntilDone(); |
| function toggleReflection() |
| reflectionOn = !reflectionOn; |
| var box = document.getElementById('box'); |
| box.style.webkitBoxReflect = reflectionOn? 'below' : 'none'; |
| window.setTimeout(function() { |
| toggleReflection(); // remove |
| window.setTimeout(function() { |
| toggleReflection(); // add |
| window.addEventListener('load', doTest, false); |
| <!-- You should see a single green rectangle and no red below. --> |
| <div id="indicator"></div> |