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