1 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
2 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
4 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
5 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
6 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
13 | src="../../resources/dump-as-markup.js"
19 border: 2px solid red;
23 border: 2px solid blue;
28 .scenario { margin-bottom: 16px;}
29 .scenario:first-line { font-weight: bold; margin-bottom: 16px;}
30 .expected-results:first-line { font-weight: bold }
50 Smart paste when pasting after a word and before a space and another word.
55 | class="expected-results"
61 A space should be added between the preexisting word and the word that's pasted. No space should be added after the pasted word. It should like this:
75 | style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;"
82 test test<#selection-caret> test"
94 function editingTest() {
95 doubleClickAtSelectionStart();
97 moveSelectionForwardByCharacterCommand();
101 runDumpAsTextEditingTest(true);
106 <div id="test" class="editing">
112 <div id="test" class="editing">