2010-09-14 Luiz Agostini <luiz.agostini@openbossa.org>
authorcommit-queue <commit-queue@webkit.org>
Wed, 15 Sep 2010 03:37:14 +0000 (03:37 +0000)
committerSimon Hausmann <simon.hausmann@nokia.com>
Thu, 16 Sep 2010 07:33:40 +0000 (09:33 +0200)
commit94645f6b86d1fe64e7c39c8915b8aef244444270
treee8dcfa4ee3254eb72455c328a2bfc3f98c7dade0
parent951126b8cbe4bb5b17eed0f0b0ababc555c4177b
2010-09-14  Luiz Agostini  <luiz.agostini@openbossa.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Zoom factor for checkboxes and radios.
        https://bugs.webkit.org/show_bug.cgi?id=45776

        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.

        * platform/qt/RenderThemeQt.cpp:
        (WebCore::RenderThemeQt::computeSizeBasedOnStyle):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67531 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/platform/qt/RenderThemeQt.cpp