Skip to content
  • dbates@webkit.org's avatar
    2010-01-26 Daniel Bates <dbates@webkit.org> · c9561791
    dbates@webkit.org authored
            Reviewed by Tor Arne Vestbø.
    
            https://bugs.webkit.org/show_bug.cgi?id=29564
    
            [Qt] Fixes an issue where the height of <button>- and
            <input type="button">- elements are fixed to the height of the
            button label font plus padding. That is, the CSS height property
            is being ignored.
    
            Instead, we should honor the user-specified height, if appropriate
            for the platform and context. Notice, the Mac ports do not honor the
            height for <input type="button"> elements unless a border and/or
            background is also specified.
    
            Test: fast/css/button-height.html
    
            * platform/qt/RenderThemeQt.cpp:
            (WebCore::RenderThemeQt::adjustButtonStyle):
    2010-01-26  Daniel Bates  <dbates@webkit.org>
    
            Reviewed by Tor Arne Vestbø.
    
            https://bugs.webkit.org/show_bug.cgi?id=29564
    
            Tests that the user-specified height for <button>- and <input type="button">-
            elements are honored, if appropriate for the platform and context.
    
            * fast/css/button-height-expected.txt: Added.
            * fast/css/button-height.html: Added.
            * fast/replaced/table-percent-height-expected.txt: Added notice about failing tests
            in Windows ports.
            * fast/replaced/table-percent-height.html: Ditto.
            * platform/qt/fast/replaced/table-percent-height-expected.txt: Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53897 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    c9561791