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