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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/pasteboard/smart-paste-003-trailing-whitespace-expected.txt

Issue 2175163004: Add a plain space instead of   between text nodes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix a test fail in Win Created 4 years, 4 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 Smart paste when pasting a word with trailing whitespace after a word and a spac e before another word. 1 Smart paste when pasting a word with trailing whitespace after a word and a spac e before another word.
2 2
3 To run this test manually, select "hello " (including trailing space), copy, and paste. 3 To run this test manually, select "hello " (including trailing space), copy, and paste.
4 4
5 Expected result 5 Expected result
6 6
7 A space should be added between the preexisting word and the word that's pasted. No space should be added after the pasted word: hello hello world 7 A space should be added between the preexisting word and the word that's pasted. No space should be added after the pasted word: hello hello world
8 8
9 Actual result 9 Actual result
10 10
11 execCopyCommand: <div id="test" class="editing" style="font-size: 24px;"> hello world </div> 11 execCopyCommand: <div id="test" class="editing" style="font-size: 24px;"> hello world </div>
12 execPasteCommand: <div id="test" class="editing" style="font-size: 24px;"> hello &nbsp;hello&nbsp;world</div> 12 execPasteCommand: <div id="test" class="editing" style="font-size: 24px;"> hello hello&nbsp;world</div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698