Reviewed by harrison
authorjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Jul 2006 22:29:02 +0000 (22:29 +0000)
committerjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Jul 2006 22:29:02 +0000 (22:29 +0000)
commita68e12357de58698a97e7fa28618c7dfd74b4992
treec79a900fff7ffb14f5073b86ad309c3f4076a7fa
parent1970ca5e8fefdc6358242300927b67f324399f94
    Reviewed by harrison

        <rdar://problem/4619260>
        9A213 + Safari 521.15.1 Crash with To Do's alarm icon (WebCore::maxDeepOffset(WebCore::Node const*) )
        <rdar://problem/4619841>
        REGRESSION: Dragging selection over input field results in a crash (WebCore::maxDeepOffset(WebCore::Node const*)

        * WebCore.xcodeproj/project.pbxproj:
        * editing/Selection.cpp:
        (WebCore::Selection::adjustForEditableContent): Iterate using next/previousVisuallyDistinctCandidate
        instead of traverseNext/Previous node because we were skipping positions.  Jump out of shadow trees.
        Migrate to isEditablePosition instead of isContentEditable.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15314 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/editing/Selection.cpp