Reviewed by Darin.

        <rdar://problem/5293444> REGRESSION: Dragging plain text into a styled text region does not acquire the correct style info

        Fixing logic error in DragController

        * manual-tests/drop-text-acquires-style.html: Added.
        * page/DragController.cpp:
        (WebCore::documentFragmentFromDragData):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23772 268f45cc-cd09-0410-ab3c-d52691b4dbfc
3 files changed