Missing cursor/caret showing in search field on google.com
[WebKit-https.git] / LayoutTests / editing / selection / minimal-user-select-crash.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5     #search-text {
6         -webkit-user-select: none;
7     }
8 </style>
9
10 <script src="../editing.js"></script>
11
12 <script>
13     if (window.testRunner)
14         testRunner.dumpAsText();
15
16     function editingTest() {
17         var element = document.getElementById('search-text');
18         element.focus();
19
20         if (window.eventSender) {
21             eventSender.mouseMoveTo(element.offsetLeft, element.offsetTop);
22             eventSender.contextClick();
23
24             document.write("PASS. WebKit didn't crash.")
25         }
26     }
27 </script>
28 </head>
29 <body onload=editingTest()>
30     <input id="search-text">
31 </body>
32 </html>