OLD | NEW |
1 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | 1 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n |
2 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | 2 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n |
3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | 3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n |
4 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | 4 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n |
5 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n | 5 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotificatio
n |
6 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification | 6 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification |
7 | <!DOCTYPE html> | 7 | <!DOCTYPE html> |
8 | <html> | 8 | <html> |
9 | <head> | 9 | <head> |
10 | " | 10 | " |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 | " | 85 | " |
86 " | 86 " |
87 | <script> | 87 | <script> |
88 | src="../editing.js" | 88 | src="../editing.js" |
89 | " | 89 | " |
90 " | 90 " |
91 | <script> | 91 | <script> |
92 | " | 92 | " |
93 | 93 |
94 function editingTest() { | 94 function editingTest() { |
| 95 window.getSelection().collapse(test.firstChild, 1); |
95 doubleClickAtSelectionStart(); | 96 doubleClickAtSelectionStart(); |
96 copyCommand(); | 97 copyCommand(); |
97 moveSelectionForwardByCharacterCommand(); | 98 moveSelectionForwardByCharacterCommand(); |
98 pasteCommand(); | 99 pasteCommand(); |
99 } | 100 } |
100 | 101 |
101 runDumpAsTextEditingTest(true); | 102 runDumpAsTextEditingTest(true); |
102 " | 103 " |
103 | <ol> | 104 | <ol> |
104 | <li> | 105 | <li> |
105 | "execCopyCommand: | 106 | "execCopyCommand: |
106 <div id="test" class="editing"> | 107 <div id="test" class="editing"> |
107 test test | 108 test test |
108 </div> | 109 </div> |
109 " | 110 " |
110 | <li> | 111 | <li> |
111 | "execPasteCommand: | 112 | "execPasteCommand: |
112 <div id="test" class="editing"> | 113 <div id="test" class="editing"> |
113 test test test</div> | 114 test test test</div> |
114 " | 115 " |
115 | " | 116 | " |
116 | 117 |
117 | 118 |
118 " | 119 " |
OLD | NEW |