Missed a few tests in my last check-in, and checked in old results for
[WebKit-https.git] / LayoutTests / editing / selection / select-element-paragraph-boundary.html
1 <script>
2 if (window.layoutTestController)
3     layoutTestController.dumpEditingCallbacks();
4 </script>
5 <p>This tests paragraphBoundary selection navigation.  The caret should be at the end of the paragraph below, just after the select box.</p>
6 <div id="div" contenteditable="true"><select><option>1</option></select></div>
7
8 <script>
9 var sel = window.getSelection();
10 var div = document.getElementById("div");
11
12 sel.setPosition(div, 0);
13 sel.modify("move", "forward", "paragraphBoundary");
14 </script>