12 if (window.testRunner)
13 testRunner.dumpAsText();
15 function testScrollByLine()
17 var overflowDiv = document.getElementById("overflow");
18 overflowDiv.scrollByLines(10);
19 overflowDiv.scrollByPages(10);
20 overflowDiv.innerHTML = "PASSED: The test did not crash!";
22 window.addEventListener("load", testScrollByLine, false);
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>