| -webkit-transform: translateZ(0px); |
| border: 1px solid transparent; |
| -webkit-box-shadow: 0 0 6px #090; |
| overflow-y: hidden; /* scrollable but no scrollbars visible. */ |
| height: 1000px; /* make the container scrollable */ |
| <script type="text/javascript"> |
| testRunner.dumpAsText(true); |
| testRunner.waitUntilDone(); |
| window.onload = function() { setTimeout(function() { |
| document.getElementById('scroll').scrollTop += 300; |
| <!-- If culled incorrectly, the top/left edges outside of the shadowed box end up being culled instead of painted/drawn properly. --> |
| <div class="comp shadow"> |
| <div class="scrollContent"> |