| <script src="../../resources/dump-as-markup.js"></script> |
| div { text-align: center; } |
| <body contentEditable="true"> |
| These demonstrate 11475: the '\n's at the end of the fragment should be unrendered.<br><br> |
| testRunner.dumpEditingCallbacks(); |
| var s = window.getSelection(); |
| document.execCommand("SelectAll"); |
| s.modify("move", "forward", "character"); |
| 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<textarea> </textarea> \n<span>x</span>\n</div>\n</div>"); |
| e.removeChild(document.getElementById('script')); |