[Webkit-unassigned] [Bug 50521] [Qt] Improper rendering of <button> tag when it contains a <br>
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 18 11:26:47 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=50521
--- Comment #8 from Dawit A. <adawit at kde.org> 2011-02-18 11:26:48 PST ---
BTW, changing
if (renderStyle->height().isAuto() && size.height() > 0)
renderStyle->setHeight(Length(size.height(), Fixed));
in RenderThemeQt::computeSizeBasedOnStyle to
if (renderStyle->height().isAuto() && size.height() > 0)
renderStyle->setMinHeight(Length(size.height(), Fixed));
seems to partially fix the problem. At least noting gets clipped with that, but the padding around the buttons is not correct either. The question I have here is since the size is being computed based on a single letter "X", at least for buttons, why is hard code its width and height instead of only using them as a minimum size ?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list