Changeset 133808 in webkit
- Timestamp:
- Nov 7, 2012 2:48:24 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r133807 r133808 1 2012-11-07 Tiancheng Jiang <tijiang@rim.com> 2 3 [BlackBerry] Update BB10 form theme. 4 https://bugs.webkit.org/show_bug.cgi?id=100760 5 6 Reviewed by Rob Buis. 7 8 RIM PR 236997 9 Internally Reviewed by Jakob Petsovits. 10 11 Set font family to fix DRT test fast/forms/input-type-text-min-width.html 12 13 * platform/blackberry/RenderThemeBlackBerry.cpp: 14 (WebCore::RenderThemeBlackBerry::defaultGUIFont): 15 (WebCore): 16 (WebCore::RenderThemeBlackBerry::systemFont): 17 1 18 2012-11-07 Beth Dakin <bdakin@apple.com> 2 19 -
trunk/Source/WebCore/platform/blackberry/RenderThemeBlackBerry.cpp
r133632 r133808 130 130 float RenderThemeBlackBerry::defaultFontSize = 16; 131 131 132 const String& RenderThemeBlackBerry::defaultGUIFont() 133 { 134 DEFINE_STATIC_LOCAL(String, fontFace, (ASCIILiteral("Slate Pro"))); 135 return fontFace; 136 } 137 132 138 static PassRefPtr<Gradient> createLinearGradient(RGBA32 top, RGBA32 bottom, const IntPoint& a, const IntPoint& b) 133 139 { … … 283 289 } 284 290 291 fontDescription.firstFamily().setFamily(defaultGUIFont()); 285 292 fontDescription.setSpecifiedSize(fontSize); 286 293 fontDescription.setIsAbsoluteSize(true); 287 fontDescription.setGenericFamily(FontDescription:: SansSerifFamily);294 fontDescription.setGenericFamily(FontDescription::NoFamily); 288 295 fontDescription.setWeight(FontWeightNormal); 289 296 fontDescription.setItalic(false);
Note: See TracChangeset
for help on using the changeset viewer.