WebCore:
authorandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 13 Jul 2006 00:20:57 +0000 (00:20 +0000)
committerandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 13 Jul 2006 00:20:57 +0000 (00:20 +0000)
commit6b2b4b10178b4e32f4deca87fc2aed0cfacc89cb
tree778857c93ac29579b3a339972e85c045ea6bd800
parent9ed781c44a10a3494b9c395b850cf93b1fa21981
WebCore:

2006-07-13  Anders Carlsson  <acarlsson@apple.com>

        Reviewed by Justin.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=9663
        REGRESSION (r14948-r14956): Selection in text field remains highlighted when the text field loses focus

        * dom/Document.cpp:
        (WebCore::Document::updateSelection):
        Don't return early if the selection is empty.

LayoutTests:

2006-07-13  Anders Carlsson  <acarlsson@apple.com>

        Reviewed by Justin.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=9663
        REGRESSION (r14948-r14956): Selection in text field remains highlighted when the text field loses focus

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

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