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