| <p>This tests copy and pastes "is a tide in the affairs of men,\nWhich taken" twice.</p> |
| <div id="root" contenteditable> |
| <div id="test" class="editing">There is a tide in the affairs of men,</div> |
| <div class="editing">Which taken at the flood leads on to fortune.</div> |
| <div class="editing">Omitted, all the voyage of their life,</div> |
| <div class="editing">Is bound in shallows and in miseries.</div> |
| <script src="../editing.js"></script> |
| moveSelectionForwardByCharacterCommand(); |
| extendSelectionForwardByCharacterCommand(); |
| runDumpAsTextEditingTest(true); |