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: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
7 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
14 | src="../../resources/dump-as-markup.js"
20 border: 2px solid red;
24 border: 2px solid blue;
29 .scenario { margin-bottom: 16px;}
30 .scenario:first-line { font-weight: bold; margin-bottom: 16px;}
31 .expected-results:first-line { font-weight: bold }
51 Smart paste when pasting after a word and before a space and another word.
56 | class="expected-results"
62 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:
76 | style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;"
83 test test <#selection-anchor>test<#selection-focus>"
96 function editingTest() {
97 doubleClickAtSelectionStart();
99 moveSelectionForwardByCharacterCommand();
103 runDumpAsTextEditingTest(true);
108 <div id="test" class="editing">
114 <div id="test" class="editing">
115 test test test</div>