Clicking on the cancel button on readonly and disabled search fields darkens as if...
authorjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Jan 2012 21:55:12 +0000 (21:55 +0000)
committerjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Jan 2012 21:55:12 +0000 (21:55 +0000)
commit1302d963952d3971137883623b38865234872b20
tree682a90bb60432a74deaffc2e15b6410cfe0dbf80
parent53d4526621498890a073c4923ae8f4689ac805ae
Clicking on the cancel button on readonly and disabled search fields darkens as if the search field was editable
https://bugs.webkit.org/show_bug.cgi?id=69886
<rdar://problem/10070187>

Reviewed by Adele Peterson.

.:

* ManualTests/search-cancel-button.html: Added.

Source/WebCore:

Tests: ManualTests/search-cancel-button.html

* rendering/RenderThemeMac.mm:
(WebCore::RenderThemeMac::paintSearchFieldCancelButton): If the input is readonly and/or disabled, force the cell to
render without highlight.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@104332 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog
ManualTests/search-cancel-button.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderThemeMac.mm