Bug 45776

Summary: [Qt] Zoom factor for checkboxes and radios.
Product: WebKit Reporter: Luiz Agostini <luiz>
Component: New BugsAssignee: Luiz Agostini <luiz>
Severity: Normal CC: abarth, commit-queue, eric, hausmann, webkit.review.bot
Priority: P3 Keywords: Qt
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 41847    
Description Flags
patch none

Description Luiz Agostini 2010-09-14 13:08:05 PDT
RenderThemeQt does not consider RenderStyle::effectiveZoom when calculating sizes of checkboxes and radios.

Even with this change the used QStyle must support different sizes for radios and checkboxes. QWindowStyle and QMacStyle, for example, do not.
For testing I used Maemo5WebStyle class (WebCore/platform/qt/Maemo5WebStyle.h). This style may be put into use by passing CONFIG+=use_qt_mobile_theme to build-webkit.
Comment 1 Luiz Agostini 2010-09-14 13:14:06 PDT
Created attachment 67595 [details]
Comment 2 Kenneth Rohde Christiansen 2010-09-14 13:15:12 PDT
Comment on attachment 67595 [details]

I trust you on this, r=me.
Comment 3 WebKit Commit Bot 2010-09-14 20:37:39 PDT
Comment on attachment 67595 [details]

Clearing flags on attachment: 67595

Committed r67531: <http://trac.webkit.org/changeset/67531>
Comment 4 WebKit Commit Bot 2010-09-14 20:37:44 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 WebKit Review Bot 2010-09-14 22:45:42 PDT
http://trac.webkit.org/changeset/67531 might have broken GTK Linux 32-bit Debug
The following changes are on the blame list:
Comment 6 Simon Hausmann 2010-09-16 00:33:50 PDT
Revision r67531 cherry-picked into qtwebkit-2.1 with commit 94645f6b86d1fe64e7c39c8915b8aef244444270