| <!DOCTYPE> |
| <html> |
| <head> |
| <style> |
| #overflow { |
| height: 100px; |
| width: 100px; |
| overflow: hidden; |
| } |
| </style> |
| <script> |
| if (window.testRunner) |
| testRunner.dumpAsText(); |
| |
| function testScroll() |
| { |
| var overflowDiv = document.getElementById("overflow"); |
| overflowDiv.scrollTop = 100; |
| overflowDiv.innerHTML = "PASSED: The test did not crash!"; |
| } |
| window.addEventListener("load", testScroll, false); |
| </script> |
| </head> |
| <body> |
| <div><a href="https://bugs.webkit.org/show_bug.cgi?id=83728">bug 83728</a>: Reduce the use of Layer outside of the rendering code</div> |
| <div>This test passes if you see PASSED below.</div> |
| <div id="overflow">FAILED</div> |
| <body> |
| </html> |