blob: a88a88a342c483cd15fc7e2865e4488543909e01 [file] [log] [blame]
rniwa@webkit.orgd7e8d71d2011-05-27 05:31:57 +00001<div id="div" contenteditable="true">xx</div>
2<script src="../../resources/dump-as-markup.js"></script>
3<script>
4
5Markup.description('This test ensures pasting words copied from TextEdit in Mail does not add extra newline. See rdar://problem/5483567.');
6
7text = document.getElementById("div").firstChild;
8window.getSelection().setPosition(text, 1);
9document.execCommand("InsertHTML", false, " <div>foo</div> ");
10
11Markup.dump('div')
12
13</script>