Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / caret / caret-is-hidden-when-no-focus.html
blobadb2a86b5b70c4504053326a3128e6d387089d36
1 <p>Caret should be hidden when no focus</p>
2 Manual steps:
3 <ol>
4 <li>Click middle of "edit me!" to show caret.</li>
5 <li>Click checkbox.</li>
6 <li>Caret should be hidden.</li>
7 </ol>
8 <div contenteditable="true">edit me!</div>
9 <input type="checkbox">
10 <script>
11 document.querySelector('div[contenteditable="true"]').focus();
12 if (window.eventSender) {
13 var checkbox = document.querySelector('input');
14 eventSender.mouseMoveTo(checkbox.offsetLeft + 5, checkbox.offsetTop + 5);
15 eventSender.mouseDown();
16 eventSender.mouseUp();
18 </script>