chromium/third_party/blink/web_tests/editing/pasteboard/pasting-word-in-div-extra-line.html

<div id="div" contenteditable="true">xx</div>
<script src="../../resources/dump-as-markup.js"></script>
<script>

Markup.description('This test ensures pasting words copied from TextEdit in Mail does not add extra newline. See rdar://problem/5483567.');

text = document.getElementById("div").firstChild;
window.getSelection().collapse(text, 1);
document.execCommand("InsertHTML", false, " <div>foo</div> ");

Markup.dump('div')

</script>