<div id="div" contenteditable="true"><img src="../resources/abe.png">
<div>This tests for a crash when changing the alignment of content that starts with an image not inside its own block container.</div></div>

<script>
var div = document.getElementById("div");
div.focus();
document.execCommand("SelectAll");
document.execCommand("JustifyRight");
</script>
