Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / platform / linux / editing / pasteboard / smart-paste-003-expected.txt
blob0fa11a4aec760434ac09f92a948f4aec958b6802
1 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
2 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
4 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
5 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
6 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
7 | <!DOCTYPE html>
8 | <html>
9 |   <head>
10 |     "
12 |     <script>
13 |       src="../../resources/dump-as-markup.js"
14 |     "
16 |     <style>
17 |       "
18 .editing { 
19     border: 2px solid red; 
20     font-size: 24px; 
22 .explanation { 
23     border: 2px solid blue; 
24     padding: 12px; 
25     font-size: 24px; 
26     margin-bottom: 24px;
28 .scenario { margin-bottom: 16px;}
29 .scenario:first-line { font-weight: bold; margin-bottom: 16px;}
30 .expected-results:first-line { font-weight: bold }
32 |     "
34 |   " 
36 |   <body>
37 |     "
39 |     <div>
40 |       class="explanation"
41 |       "
43 |       <div>
44 |         class="scenario"
45 |         "
46 Tests: 
48 |         <br>
49 |         "
50 Smart paste when pasting after a word and before a space and another word.
52 |       "
54 |       <div>
55 |         class="expected-results"
56 |         "
57 Expected Results:
59 |         <br>
60 |         "
61 A space should be added between the preexisting word and the word that's pasted. No space should be added after the pasted word. It should like this:
63 |         <br>
64 |         "
65 test test test
67 |       "
69 |     "
72 |     <div>
73 |       contenteditable=""
74 |       id="root"
75 |       style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;"
76 |       "
78 |       <div>
79 |         class="editing"
80 |         id="test"
81 |         "
82 test test<#selection-caret> test"
83 |       "
85 |     "
87 |     <script>
88 |       src="../editing.js"
89 |     "
91 |     <script>
92 |       "
94 function editingTest() {
95     doubleClickAtSelectionStart();
96     copyCommand();
97     moveSelectionForwardByCharacterCommand();
98     pasteCommand();
101 runDumpAsTextEditingTest(true);
103 |     <ol>
104 |       <li>
105 |         "execCopyCommand: 
106 <div id="test" class="editing">
107 test test
108 </div>
110 |       <li>
111 |         "execPasteCommand: 
112 <div id="test" class="editing">
113 test test test</div>
115 |     "