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