blob: b330e50fed36c6eacacc57f26335b22c2a1fcf13 [file] [log] [blame]
<!DOCTYPE>
<html>
<body onload="runTest()">
<script>
if (window.testRunner)
testRunner.dumpAsText();
function runTest() {
document.open();
getSelection().setPosition(document, 0);
getSelection().modify("move", "forward", "line");
document.writeln('This test ensures WebKit does not crash when extending selection forward by line in an empty document.<br><br>');
document.writeln('PASS.');
}
</script>
</body>
</html>