blob: 7f6da34f71937a24d258390bf408e5d3a92f0334 [file] [log] [blame]
This tests for a bug where newlines would not be preserved during copy/paste. Below you should see two paragraphs containing "Hello World!" and an empty third paragraph with the caret in it.
Before copy and paste:
| "<#selection-anchor>Hello World!"
| <div>
| id="div"
| <#selection-focus>
| <br>
After copy and paste:
| "Hello World!"
| <div>
| id="div"
| "Hello World!"
| <br>
| <div>
| <#selection-caret>
| <br>