-
oliver authored
Reviewed by hyatt. Fix for <rdar://problem/5055690> ASSERTION failure on drop into editable element with content changed on drop After setting the selection for a drop into an editable region we make sure the we succeeded. If we didn't we assume a focus handler or similar altered the element contents and try again, if the second attempt fails we bail out. * page/DragController.cpp: (WebCore::setSelectionToDragCaret): (WebCore::DragController::concludeDrag): LayoutTests: <rdar://problem/5055690> ASSERTION failure on drop into editable element with content changed on drop * fast/events/content-changed-during-drop-expected.txt: Added. * fast/events/content-changed-during-drop.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20109 268f45cc-cd09-0410-ab3c-d52691b4dbfc
94fbb1f9