blob: 69abf6a89ead0dfbcd605c2c37aa3ece9b710735 [file] [log] [blame]
<p>This tests caret movement across buttons. The caret should be just after the second button.</p>
<div id="div" contenteditable="true">
<input type="submit" value="Foo"><input type="reset" value="Bar">
</div>
<script src="../editing.js"></script>
<script>
runEditingTest();
function editingTest() {
var sel = window.getSelection();
var div = document.getElementById("div");
sel.setPosition(div, 0);
moveSelectionForwardByCharacterCommand();
moveSelectionForwardByCharacterCommand();
}
</script>