10 border: 2px solid blue;
15 .scenario { margin-bottom: 16px;}
16 .scenario:first-line { font-weight: bold; margin-bottom: 16px;}
17 .expected-results:first-line { font-weight: bold }
21 <div class="explanation">
22 <div class="scenario">
25 Smart paste when pasting after word and a space before another word.
27 <div class="expected-results">
30 A space should be added after the pasted word before the other preexisting word. It should like this:
36 <div contenteditable id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
37 <div id="test" class="editing">
41 <script src="../editing.js"></script>
44 function editingTest() {
45 doubleClickAtSelectionStart();
47 moveSelectionForwardByCharacterCommand();
48 moveSelectionForwardByCharacterCommand();
52 runDumpAsTextEditingTest(true);