Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / style / 5228141.html
blobda3728e4f52529a35655a360bc029f9d815e267c
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>
4 <script>
5 div = document.getElementById("div");
6 div.focus();
7 document.execCommand("SelectAll");
8 document.execCommand("Bold");
9 </script>