LayoutTests:
authorjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 16 Jul 2007 22:31:10 +0000 (22:31 +0000)
committerjusting <justing@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 16 Jul 2007 22:31:10 +0000 (22:31 +0000)
commit7ad83514e580742596563b43c0566cd099b65f01
treeb5aaa7a05f2342cd4882e4fd12e2613c8761da47
parent0bd0f6736dc1f294f953284d41ebb747da205ce6
LayoutTests:

        Reviewed by Adele.

        <rdar://problem/5240265> REGRESSION: Clicking a <button> clears the selection in contenteditable areas

        * editing/selection/5240265-expected.checksum: Added.
        * editing/selection/5240265-expected.png: Added.
        * editing/selection/5240265-expected.txt: Added.
        * editing/selection/5240265.html: Added.

WebCore:

        Reviewed by Adele.

        <rdar://problem/5240265>
        REGRESSION: Clicking a <button> clears the selection in contenteditable areas

        * page/FocusController.cpp:
        (WebCore::clearSelectionIfNeeded): Don't clear the selection if
        the mouse press that caused the focus shift occurred in
        a -webkit-user-select: ignore region.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@24334 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/editing/selection/5240265-expected.checksum [new file with mode: 0644]
LayoutTests/editing/selection/5240265-expected.png [new file with mode: 0644]
LayoutTests/editing/selection/5240265-expected.txt [new file with mode: 0644]
LayoutTests/editing/selection/5240265.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/page/FocusController.cpp