-
rniwa@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=69315 Reviewed by Kent Tamura. Fixed the bug by adding a new flag to setSelection to avoid calling setFocusedNodeIfNeeded when called by nodeWillBeRemoved and textWillBeReplaced. Added a manual test. Unfortunately, the test always passes in DRT. * editing/FrameSelection.cpp: (WebCore::FrameSelection::setSelection): (WebCore::FrameSelection::respondToNodeModification): (WebCore::FrameSelection::textWillBeReplaced): * editing/FrameSelection.h: * manual-tests/mutate-unfocused-text-with-selection.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96628 268f45cc-cd09-0410-ab3c-d52691b4dbfc
cf9c03f9