LayoutTests:
authorjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Jun 2006 20:05:00 +0000 (20:05 +0000)
committerjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Jun 2006 20:05:00 +0000 (20:05 +0000)
commit3c6aeb6e6f9277678b25841d3f88a0ef87ae0e12
tree79c266c4fa303fa77a87c6a84dc3fcda0d304807
parent37099afded023d1bd8c988a4f789c3f98b1b2fe0
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
LayoutTests/ChangeLog
LayoutTests/editing/execCommand/findString-2-expected.checksum [new file with mode: 0644]
LayoutTests/editing/execCommand/findString-2-expected.png [new file with mode: 0644]
LayoutTests/editing/execCommand/findString-2-expected.txt [new file with mode: 0644]
LayoutTests/editing/execCommand/findString-2.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/page/Frame.cpp