blob: f06dc534cd590cdb14038c8bf86663f9cdeac374 [file] [log] [blame]
<script>
if (window.layoutTestController)
layoutTestController.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>