Missing cursor/caret showing in search field on google.com
[WebKit-https.git] / LayoutTests / editing / selection / move-backwords-by-word-001.html
1 <html> 
2 <head>
3
4 <style>
5 .editing { 
6     border: 2px solid red; 
7     padding: 12px; 
8     font-size: 24px; 
9 }
10 </style>
11 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
12
13 <script>
14
15 function editingTest() {
16     for (i = 0; i < 10; i++)
17         moveSelectionForwardByCharacterCommand();
18     moveSelectionBackwardByWordCommand();
19     moveSelectionBackwardByWordCommand();
20 }
21
22 </script>
23
24 <!-- Note that this tests the fix for this bug:
25 <rdar://problem/3765519> REGRESSION (Mail): word movement goes too far upstream at start of line
26 -->
27
28 <title>Editing Test</title> 
29 </head> 
30 <body>
31 <div contenteditable id="root" class="editing">
32 <span id="test">foo<BR>bar baz</span>
33 </div>
34
35 <script>
36 runEditingTest();
37 </script>
38
39 </body>
40 </html>