Index: LayoutTests/platform/chromium-win/editing/pasteboard/smart-paste-004-expected.txt |
diff --git a/LayoutTests/editing/pasteboard/smart-paste-004-expected.txt b/LayoutTests/platform/chromium-win/editing/pasteboard/smart-paste-004-expected.txt |
similarity index 76% |
copy from LayoutTests/editing/pasteboard/smart-paste-004-expected.txt |
copy to LayoutTests/platform/chromium-win/editing/pasteboard/smart-paste-004-expected.txt |
index 6b22b3df134ab9c955ad14138c6dcb179fc0d759..8b9a36b58d9c5fda6ca866db379ec0028beea6ed 100644 |
--- a/LayoutTests/editing/pasteboard/smart-paste-004-expected.txt |
+++ b/LayoutTests/platform/chromium-win/editing/pasteboard/smart-paste-004-expected.txt |
@@ -1,14 +1,13 @@ |
EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document |
EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification |
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification |
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE |
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 6 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE |
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification |
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification |
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification |
-EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 6 of #text > DIV > DIV > BODY > HTML > #document to 6 of #text > DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted |
+EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 7 of #text > DIV > DIV > BODY > HTML > #document to 7 of #text > DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted |
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification |
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification |
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 15 of #text > DIV > DIV > BODY > HTML > #document to 15 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 11 of #text > DIV > DIV > BODY > HTML > #document to 11 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE |
+EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 15 of #text > DIV > DIV > BODY > HTML > #document to 15 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 12 of #text > DIV > DIV > BODY > HTML > #document to 15 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE |
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification |
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification |
Tests: |
@@ -16,6 +15,7 @@ Smart paste when pasting after word and a space before another word. |
Expected Results: |
A space should be added after the pasted word before the other preexisting word. It should like this: |
test test test |
-test test test |
+test ttest est |
+ |
execCopyCommand: <div id="test" class="editing"> test test </div> |
-execPasteCommand: <div id="test" class="editing"> test test test</div> |
+execPasteCommand: <div id="test" class="editing"> test ttest est</div> |