Changeset 187170 in webkit
- Timestamp:
- Jul 22, 2015 11:47:12 AM (9 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r187168 r187170 1 2015-07-22 Wenson Hsieh <wenson_hsieh@apple.com> 2 3 Search fields render placeholder text improperly. 4 https://bugs.webkit.org/show_bug.cgi?id=147192 5 <rdar://problem/21901076> 6 7 Reviewed by Alexey Proskuryakov. 8 9 Due to changes in the way AppKit renders search inputs, we must now explicitly 10 set the placeholder text of a search input rendered using the Mac theme to be 11 an empty string when rendering the search input box (not including the actual 12 placeholder text). 13 14 * rendering/RenderThemeMac.mm: 15 (WebCore::RenderThemeMac::setSearchCellState): Force the placeholder text of 16 the NSSearchFieldCell for the Mac theme to be an empty string. 17 1 18 2015-07-22 Matthew Daiter <mdaiter@apple.com> 2 19 -
trunk/Source/WebCore/rendering/RenderThemeMac.mm
r187095 r187170 1632 1632 NSSearchFieldCell* search = this->search(); 1633 1633 1634 [search setPlaceholderString:@""]; 1634 1635 [search setControlSize:controlSizeForFont(o.style())]; 1635 1636
Note: See TracChangeset
for help on using the changeset viewer.