Setting innerText to an empty string on editable div loses focus
[WebKit-https.git] / LayoutTests / editing / pasteboard / smart-paste-005-expected.txt
1 EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
2 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
3 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
4 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
5 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
6 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 5 of #text > DIV > DIV > BODY > HTML > #document to 5 of #text > 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
7 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
8 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
9 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
10 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
11 EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 3 of #text > DIV > DIV > BODY > HTML > #document to 3 of #text > DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
12 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
13 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of #text > DIV > DIV > BODY > HTML > #document to 3 of #text > DIV > DIV > BODY > HTML > #document toDOMRange:range from 6 of #text > DIV > DIV > BODY > HTML > #document to 6 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
14 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
15 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
16 Tests: 
17 Smart paste when pasting in the middle of a word.
18 Expected Results: 
19 Spaces should be added before and after the pasted word. It should look like this: 
20 te test st
21 te test st
22 execCopyCommand: <div id="test" class="editing"> test </div>
23 execPasteCommand: <div id="test" class="editing"> te&nbsp;test&nbsp;st</div>