| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE> | |
| 2 <html> | |
| 3 <head> | |
| 4 <style> | |
| 5 #overflow { | |
| 6 height: 100px; | |
| 7 width: 100px; | |
| 8 overflow: hidden; | |
| 9 } | |
| 10 </style> | |
| 11 <script> | |
| 12 if (window.testRunner) | |
| 13 testRunner.dumpAsText(); | |
| 14 | |
| 15 function testScrollByLine() | |
| 16 { | |
| 17 var overflowDiv = document.getElementById("overflow"); | |
| 18 overflowDiv.scrollByLines(10); | |
| 19 overflowDiv.scrollByPages(10); | |
| 20 overflowDiv.innerHTML = "PASSED: The test did not crash!"; | |
| 21 } | |
| 22 window.addEventListener("load", testScrollByLine, false); | |
| 23 </script> | |
| 24 </head> | |
| 25 <body> | |
| 26 <div><a href="https://bugs.webkit.org/show_bug.cgi?id=83728">bug 83728</a>:
Reduce the use of RenderLayer outside of the rendering code</div> | |
| 27 <div>This test passes if you see PASSED below.</div> | |
| 28 <div id="overflow">FAILED</div> | |
| 29 <body> | |
| 30 </html> | |
| OLD | NEW |