Missing cursor/caret showing in search field on google.com
[WebKit-https.git] / LayoutTests / editing / selection / extend-selection-backward-at-beginning-of-line-by-word-granularity.html
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <div id="editor" contenteditable><div>first</div><div id="target">second</div></div>
5 <script src="../../resources/dump-as-markup.js"></script>
6 <script>
7
8 Markup.description('This tests moving the selection backwards at the beginning of a line by word granularity');
9
10 editor.focus();
11 getSelection().setPosition(target, 0);
12 getSelection().modify('extend', 'backward', 'word');
13
14 Markup.dump(editor);
15
16 </script>
17 </body>
18 </html>