Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / pasting-word-in-div-extra-line.html
blob60f734386be0600bcf22e48663d06cbb0bca4703
1 <div id="div" contenteditable="true">xx</div>
2 <script src="../../resources/dump-as-markup.js"></script>
3 <script>
5 Markup.description('This test ensures pasting words copied from TextEdit in Mail does not add extra newline. See rdar://problem/5483567.');
7 text = document.getElementById("div").firstChild;
8 window.getSelection().collapse(text, 1);
9 document.execCommand("InsertHTML", false, " <div>foo</div> ");
11 Markup.dump('div')
13 </script>