4 <script src=
"../../resources/dump-as-markup.js"></script>
8 testRunner
.dumpEditingCallbacks();
11 Markup
.description("This tests for a bug where pasted content starting with an interchange newline would end up\n"
12 + "outside of the editable region where it was pasted. You should see 'foo\\nbar' below.");
14 var sel
= window
.getSelection();
15 var e
= document
.getElementById("test");
18 sel
.modify("move", "forward", "word");
19 document
.execCommand("InsertHTML", false, "<br class='Apple-interchange-newline'>bar");
21 Markup
.dump(document
.body
);
27 <div id=
"test" contenteditable=
"true">foo
</div>