Missing cursor/caret showing in search field on google.com
[WebKit-https.git] / LayoutTests / editing / selection / 4776665.html
1 <script>
2 if (window.testRunner) {
3      testRunner.dumpEditingCallbacks();
4      window.testRunner.waitUntilDone();
5 }
6     
7 function runTest() {
8     var frame = frames[0];
9     var doc = frame.document;
10     var body = doc.body;
11     var sel = frame.getSelection();
12     sel.setPosition(body, 0);
13     if (window.testRunner)
14         window.testRunner.notifyDone();
15 }
16 </script>
17 <p>This tests for a caret painting bug.  You should not see a caret in the editable subframe below.</p>
18 <iframe src="../resources/contenteditable-iframe-src.html" onload="runTest();"></iframe>