4 <div id=
"test" contenteditable=
"true">xx
</div>
5 <script src=
"../../resources/dump-as-markup.js"></script>
8 testRunner
.dumpEditingCallbacks();
10 Markup
.description('There is an interchange newline at the end of the incoming fragment. "bar" and "x" should be in separate paragraphs\n'
11 + 'The paragraph "bar" is inside a div wrapped in a span, and the old paste code that handled interchange newlines did not handle this case.');
13 var s
= window
.getSelection();
14 var e
= document
.getElementById("test");
17 s
.modify("move", "forward", "character");
18 document
.execCommand("InsertHTML", false, "<div>foo</div><span><div>bar</div></span><br class='Apple-interchange-newline'>");