Index: LayoutTests/editing/pasteboard/paste-table-003-expected.txt |
diff --git a/LayoutTests/editing/pasteboard/paste-table-003-expected.txt b/LayoutTests/editing/pasteboard/paste-table-003-expected.txt |
index d9690c7abc4a185b0ca1cc3ceaefaf54c362c767..6f110514632dea3e70cf0ab2c82d6cbd09d97da2 100644 |
--- a/LayoutTests/editing/pasteboard/paste-table-003-expected.txt |
+++ b/LayoutTests/editing/pasteboard/paste-table-003-expected.txt |
@@ -1,11 +1,7 @@ |
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 5 of DIV > BODY > HTML > #document |
-EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification |
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification |
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification |
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification |
-EDITING DELEGATE: shouldInsertNode:#document-fragment replacingDOMRange:range from 0 of #text > DIV > DIV > BODY > HTML > #document to 9 of #text > DIV > DIV > BODY > HTML > #document givenAction:WebViewInsertActionPasted |
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 2 of TD > TR > TBODY > TABLE > DIV > DIV > BODY > HTML > #document to 2 of TD > TR > TBODY > TABLE > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE |
EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification |
EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification |
This tests pasting a table to replace some text. It demonstrates two bugs: 1) selecting a table without also selecting the line break after programmatically is impossible when its followed by a div because of the way DOM positions are mapped to visible positions, 2) pasting content that ends in a table places the caret in the last table cell instead of after the table, so the interchange newline is placed in the last table cell and not after the table. |