Missing cursor/caret showing in search field on google.com
[WebKit-https.git] / LayoutTests / editing / selection / extend-by-line-in-empty-document.html
1 <!DOCTYPE>
2 <html>
3 <body onload="runTest()">
4 <script>
5
6 if (window.testRunner)
7     testRunner.dumpAsText();
8
9 function runTest() {
10     document.open();
11     getSelection().setPosition(document, 0);
12     getSelection().modify("move", "forward", "line");
13     document.writeln('This test ensures WebKit does not crash when extending selection forward by line in an empty document.<br><br>');
14     document.writeln('PASS.');
15 }
16 </script>
17 </body>
18 </html>