LayoutTests:
[WebKit-https.git] / LayoutTests / editing / selection / select-element-paragraph-boundary.html
1 <p>This tests paragraphBoundary selection navigation.  The caret should be at the end of the paragraph below, just after the select box.</p>
2 <div id="div" contenteditable="true"><select><option>1</option></select></div>
3
4 <script>
5 var sel = window.getSelection();
6 var div = document.getElementById("div");
7
8 sel.setPosition(div, 0);
9 sel.modify("move", "forward", "paragraphBoundary");
10 </script>