blob: 47c9f0d7005232c9be3e8870c98feb232ad026cf [file] [log] [blame]
<script>
if (window.layoutTestController)
layoutTestController.dumpEditingCallbacks();
</script>
<p>Only the line break after the image should be selected.</p>
<hr>
<div contenteditable="true" id="div"><img src="../resources/abe.png"><br>foo</div>
<script>
if (window.layoutTestController)
window.layoutTestController.dumpSelectionRect();
var e = document.getElementById("div");
var s = window.getSelection();
// Select the line break
s.setBaseAndExtent(e, 1, e, 2);
</script>