* editing/pasteboard/paste-table-002-expected.txt: Corrected one result
[WebKit-https.git] / LayoutTests / editing / pasteboard / paste-table-002-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 > DIV > BODY > HTML > #document to 0 of DIV > DIV > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > DIV > DIV > BODY > HTML > #document to 6 of #text > DIV > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
5 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
6 EDITING DELEGATE: shouldDeleteDOMRange:range from 1 of #text > DIV > DIV > DIV > BODY > HTML > #document to 6 of #text > DIV > DIV > DIV > DIV > BODY > HTML > #document
7 EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of DIV > DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
8 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
9 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
10 EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of DIV > DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted
11 EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 5 of #text > DIV > DIV > DIV > DIV > BODY > HTML > #document to 5 of #text > DIV > DIV > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
12 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
13 EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
14 Problem: copy/pasting some HTML including tables can give rise to a <div> element as the first child of the table element. This is invalid.
15 abcdef
16 foo     bar
17 ghijk
18 <div id="test" class="editing"> <div>abcdef<div style="text-align: center;"><table style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><tbody style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><tr style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><td style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">foo</td><td style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">bar</td></tr></tbody></table>ghijk</div> </div> </div>
19