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 a word at the end of a line.
27 <div class=
"expected-results">
30 A space should be added between the preexisting word and the word that's pasted. 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();
51 runDumpAsTextEditingTest(true);