blob: 7ca87c09ee2407ab2aea197d8384151686661c97 [file] [log] [blame]
<script>
if (window.testRunner)
testRunner.dumpEditingCallbacks();
</script>
<p>This tests paragraphBoundary selection navigation. The caret should be at the end of the paragraph below, just after the select box.</p>
<div id="div" contenteditable="true"><select><option>1</option></select></div>
<script>
var sel = window.getSelection();
var div = document.getElementById("div");
sel.setPosition(div, 0);
sel.modify("move", "forward", "paragraphBoundary");
</script>