Changeset 58259 in webkit
- Timestamp:
- Apr 26, 2010 9:56:42 AM (14 years ago)
- Location:
- trunk/WebKit/chromium
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/chromium/ChangeLog
r58253 r58259 1 2010-04-26 Roman Gershman <romange@google.com> 2 3 Reviewed by Adam Barth. 4 5 [Chromium] Font size in suggestions popup menu should be correlated with the font size of its text field. 6 7 https://bugs.webkit.org/show_bug.cgi?id=37977 8 9 * src/SuggestionsPopupMenuClient.cpp: 10 (WebKit::SuggestionsPopupMenuClient::initialize): 11 1 12 2010-04-26 Pavel Feldman <pfeldman@chromium.org> 2 13 -
trunk/WebKit/chromium/src/SuggestionsPopupMenuClient.cpp
r55031 r58259 157 157 RenderTheme::defaultTheme()->systemFont(CSSValueWebkitControl, 158 158 fontDescription); 159 RenderStyle* style = m_textField->computedStyle(); 160 fontDescription.setComputedSize(style->fontDescription().computedSize()); 159 161 160 // Use a smaller font size to match IE/Firefox.161 // FIXME: http://crbug.com/7376 use the system size instead of a162 // fixed font size value.163 fontDescription.setComputedSize(12.0);164 162 Font font(fontDescription, 0, 0); 165 163 font.update(textField->document()->styleSelector()->fontSelector());
Note: See TracChangeset
for help on using the changeset viewer.