⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 187310 in webkit


Ignore:
Timestamp:
Jul 24, 2015, 12:54:04 AM (11 years ago)
Author:
matthew_hanson@apple.com
Message:

Merge r187170. rdar://problem/21901076

Location:
branches/safari-601.1-branch/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-601.1-branch/Source/WebCore/ChangeLog

    r187309 r187310  
     12015-07-24  Matthew Hanson  <matthew_hanson@apple.com>
     2
     3        Merge r187170. rdar://problem/21901076
     4
     5    2015-07-22  Wenson Hsieh  <wenson_hsieh@apple.com>
     6
     7            Search fields render placeholder text improperly.
     8            https://bugs.webkit.org/show_bug.cgi?id=147192
     9            <rdar://problem/21901076>
     10
     11            Reviewed by Alexey Proskuryakov.
     12
     13            Due to changes in the way AppKit renders search inputs, we must now explicitly
     14            set the placeholder text of a search input rendered using the Mac theme to be
     15            an empty string when rendering the search input box (not including the actual
     16            placeholder text).
     17
     18            * rendering/RenderThemeMac.mm:
     19            (WebCore::RenderThemeMac::setSearchCellState): Force the placeholder text of
     20                the NSSearchFieldCell for the Mac theme to be an empty string.
     21
    1222015-07-24  Matthew Hanson  <matthew_hanson@apple.com>
    223
  • branches/safari-601.1-branch/Source/WebCore/rendering/RenderThemeMac.mm

    r187056 r187310  
    16321632    NSSearchFieldCell* search = this->search();
    16331633
     1634    [search setPlaceholderString:@""];
    16341635    [search setControlSize:controlSizeForFont(o.style())];
    16351636
Note: See TracChangeset for help on using the changeset viewer.