| OLD | NEW |
| 1 Smart paste when pasting a word with trailing whitespace after a word and a spac
e before another word. | 1 Smart paste when pasting a word with trailing whitespace after a word and a spac
e before another word. |
| 2 | 2 |
| 3 To run this test manually, select "hello " (including trailing space), copy, and
paste. | 3 To run this test manually, select "hello " (including trailing space), copy, and
paste. |
| 4 | 4 |
| 5 Expected result | 5 Expected result |
| 6 | 6 |
| 7 A space should be added between the preexisting word and the word that's pasted.
No space should be added after the pasted word: hello hello world | 7 A space should be added between the preexisting word and the word that's pasted.
No space should be added after the pasted word: hello hello world |
| 8 | 8 |
| 9 Actual result | 9 Actual result |
| 10 | 10 |
| 11 execCopyCommand: <div id="test" class="editing" style="font-size: 24px;"> hello
world </div> | 11 execCopyCommand: <div id="test" class="editing" style="font-size: 24px;"> hello
world </div> |
| 12 execPasteCommand: <div id="test" class="editing" style="font-size: 24px;"> hello
hello world</div> | 12 execPasteCommand: <div id="test" class="editing" style="font-size: 24px;"> hello
hello world</div> |
| OLD | NEW |