Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / 5890684.html
blobe515d96207f7945dc5f94f3a6a2f150fd25f31c8
1 <div id="description">This tests for a bug where deleting a line break would change the size of monospace text. Below you should see "helloworld" all in the same font.</div>
2 <div id="edit" style="font-family:monospace;" contenteditable="true">hello<div id="world">world</div></div>
4 <script>
5 if (window.testRunner)
6 window.testRunner.dumpAsText();
7 div = document.getElementById("world");
8 window.getSelection().collapse(div, 0);
9 document.execCommand("Delete");
10 if (window.testRunner)
11 document.body.innerText = document.getElementById("description").innerText + "\n" + document.getElementById("edit").innerHTML;
12 </script>