LayoutTests:
Reviewed by harrison
<http://bugzilla.opendarwin.org/show_bug.cgi?id=9456>
REGRESSION (417.9.2-420+): Cmd-G doesn't work in Safari after double-click and Cmd-E
* editing/execCommand/findString-2-expected.checksum: Added.
* editing/execCommand/findString-2-expected.png: Added.
* editing/execCommand/findString-2-expected.txt: Added.
* editing/execCommand/findString-2.html: Added.
WebCore:
Reviewed by harrison
<http://bugzilla.opendarwin.org/show_bug.cgi?id=9456>
REGRESSION (417.9.2-420+): Cmd-G doesn't work in Safari after double-click and Cmd-E
* page/Frame.cpp:
(WebCore::Frame::findString): When comparing the found range with
what's currently selected a) build a selection with the found
range to remove collapsed whitespace and b) compare ranges
instead of selection objects to ignore the way that the
current selection was made (to ignore the base and extent).
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14877
268f45cc-cd09-0410-ab3c-
d52691b4dbfc