5 testRunner.dumpEditingCallbacks();
12 if (window.testRunner) {
13 window.testRunner.setWindowIsKey(false);
14 window.testRunner.setMainFrameIsFirstResponder(false);
16 var s = window.getSelection();
17 var e = document.getElementById("test");
20 s.setBaseAndExtent(e, 0, e, 0);
24 <title>Caret and Focus Halo</title>
27 <p>This tests that the caret and the focus halo are not displayed when the WebView is not focused (using the pixel output from DumpRenderTree).</p>
28 <div id="editme" contenteditable="true">This is an <span id="test">editable</span> region. No caret or focus ring should appear in the pixel results.</div>
30 <script>runTest();</script>