Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Side by Side Diff: LayoutTests/editing/pasteboard/smart-paste-003-expected.txt

Issue 225303002: Let Selection.collapse remember a raw Position instead of a canonicalized one. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 "
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698