4 <div id="test" contenteditable="true"><div>foo</div>bar</div>
5 <script src="../../resources/dump-as-markup.js"></script>
8 testRunner.dumpEditingCallbacks();
10 Markup.description('This demonstrates a bug in interchange newline handling during paste.\n'
11 + 'The selection being pasted into contain multiple blocks, which breaks the old code in paste that handled interchange newlines.')
13 var s = window.getSelection();
14 var e = document.getElementById("test");
17 s.modify("move", "forward", "character");
18 s.modify("extend", "forward", "line");
19 document.execCommand("InsertHTML", false, "<div>bar</div>baz<br class='Apple-interchange-newline'>");