-
darin@apple.com authored
Reviewed by Oliver Hunt. - https://bugs.webkit.org/show_bug.cgi?id=19331 <rdar://problem/5984433>: Drag and drop of links in edit mode violates assert in MoveSelectionCommand::doApply() * page/DragController.cpp: (WebCore::DragController::startDrag): When a link is dragged without any text selected (note: for this to work, the EditableLinkBehavior setting must be set to 'live' or 'default') and then dropped into an editable html document it will eventually violate an ASSERT in MoveSelectionCommand that requires that there is a selection. To prevent this, expand the selection to the enclosing anchor tag when the drag begins. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37534 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ee5d0dc8