3 <script src=
"../../resources/dump-as-markup.js"></script>
5 div { text-align: center; }
9 <body contentEditable=
"true">
10 These demonstrate
11475: the '\n's at the end of the fragment should be unrendered.
<br><br>
13 if (window.testRunner)
14 testRunner.dumpEditingCallbacks();
16 var s = window.getSelection();
17 var e = document.body;
20 document.execCommand(
"SelectAll");
21 s.modify(
"move",
"forward",
"character");
22 document.execCommand(
"InsertHTML", false,
"<div>This test checks that pasing in a combination of nested blocks where one starts with a text field doesn't crash or fail assertions.</div>\n<div>\n<div>\n<input type='text'> \n<span>x</span>\n</div>\n</div>");
24 e.removeChild(document.getElementById('test'));