1 <p>This tests for a bug where style would not be applied to a selection that ended just after an image.
</p>
2 <div id=
"div" contenteditable=
"true"><br><div>This text should be bold.
<img src=
"../resources/abe.png"></div></div>
5 div
= document
.getElementById("div");
7 document
.execCommand("SelectAll");
8 document
.execCommand("Bold");