| <html> |
| <head> |
| <script> |
| if (window.layoutTestController) |
| layoutTestController.dumpEditingCallbacks(); |
| </script> |
| |
| <style> |
| div { text-align: center; } |
| </style> |
| </head> |
| |
| <body contentEditable="true"> |
| These demonstrate 11475: the '\n's at the end of the fragment should be unrendered.<br><br> |
| |
| <script> |
| var s = window.getSelection(); |
| var e = document.body; |
| |
| s.setPosition(e, 0); |
| 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<input type='text'> \n<span>x</span>\n</div>\n</div>"); |
| |
| </script> |
| |
| </body> |
| </html> |
| |