Changeset 93652 in webkit
- Timestamp:
- Aug 23, 2011 4:12:27 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r93651 r93652 1 2011-08-23 Misha Tyutyunik <michael.tyutyunik@nokia.com> 2 3 [Qt] Button text is invisible when mobile theme is in use and application palette set to use light text color. 4 https://bugs.webkit.org/show_bug.cgi?id=66635 5 6 When mobile theme is in use and application palette is using light 7 color to display text button text becomes invisible. The reason for 8 that is that in RenderThemeQt::systemFont() we are using application 9 pallete while when are painting buttons lightGrayPalette is used. 10 Calling setPaletteFromPageClientIfExists() takes care of the issue. 11 12 Reviewed by Andreas Kling. 13 14 Covered by existing tests. 15 16 * platform/qt/RenderThemeQt.cpp: 17 (WebCore::RenderThemeQt::systemColor): 18 1 19 2011-08-23 Tony Chang <tony@chromium.org> 2 20 -
trunk/Source/WebCore/platform/qt/RenderThemeQt.cpp
r93644 r93652 439 439 { 440 440 QPalette pal = QApplication::palette(); 441 setPaletteFromPageClientIfExists(pal); 441 442 switch (cssValueId) { 442 443 case CSSValueButtontext:
Note: See TracChangeset
for help on using the changeset viewer.