--- /home/clopez/webkit/webkit/layout-test-results/fast/events/5056619-expected.txt +++ /home/clopez/webkit/webkit/layout-test-results/fast/events/5056619-actual.txt @@ -1,15 +1,21 @@ EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 3 of #text > SPAN > BODY > HTML > #document to 3 of #text > SPAN > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 3 of #text > SPAN > BODY > HTML > #document to 3 of #text > SPAN > BODY > HTML > #document toDOMRange:range from 0 of #text > SPAN > BODY > HTML > #document to 6 of #text > SPAN > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE -EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification -EDITING DELEGATE: shouldInsertText:Dragme replacingDOMRange:range from 0 of DIV > #document-fragment to 0 of DIV > #document-fragment givenAction:WebViewInsertActionDropped EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification This tests drag and drop into a form element that is removed in its onfocus handler. Safari shouldn't crash and the dropped content shouldn't appear anywhere because there's no editable region left over underneath the mouse when the input element is removed on drop. | " " | | id="span" -| "Dragme" +| "<#selection-anchor>Dragme<#selection-focus>" +| +| id="input" +| onfocus="focusHandler()" +| type="text" +| this.value="" +| +|
+| contenteditable="plaintext-only" | " " |