Changeset 79103 in webkit


Ignore:
Timestamp:
Feb 18, 2011 11:22:54 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-02-18 Dawit Alemayehu <adawit@kde.org>

Reviewed by Andreas Kling.

[Qt] Button Element is rendered w/ text off-center.
https://bugs.webkit.org/show_bug.cgi?id=53373

Test: LayoutTests/fast/forms/button-white-space.html

  • platform/qt/RenderThemeQt.cpp: (WebCore::RenderThemeQt::adjustButtonStyle):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r79093 r79103  
     12011-02-18  Dawit Alemayehu  <adawit@kde.org>
     2
     3        Reviewed by Andreas Kling.
     4
     5        [Qt]  Button Element is rendered w/ text off-center.
     6        https://bugs.webkit.org/show_bug.cgi?id=53373
     7
     8        Test: LayoutTests/fast/forms/button-white-space.html
     9
     10        * platform/qt/RenderThemeQt.cpp:
     11        (WebCore::RenderThemeQt::adjustButtonStyle):
     12
    1132011-02-18  Jonathan Backer  <backer@chromium.org>
    214
  • trunk/Source/WebCore/platform/qt/RenderThemeQt.cpp

    r77291 r79103  
    548548#endif
    549549
    550     // White-space is locked to pre
    551     style->setWhiteSpace(PRE);
    552 
    553550    FontDescription fontDescription = style->fontDescription();
    554551    fontDescription.setIsAbsoluteSize(true);
Note: See TracChangeset for help on using the changeset viewer.