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

Side by Side Diff: LayoutTests/platform/win/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: 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
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&nbsp;test&nbsp;test</div>&nbsp; 116 test&nbsp;test&nbsp;test</div>&nbsp;
116 " 117 "
117 | " 118 | "
118 119
119 120
120 " 121 "
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698