[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
Mon Feb 14 11:05:26 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=50521





--- Comment #5 from Dawit A. <adawit at kde.org>  2011-02-14 11:05:27 PST ---
(In reply to comment #4)
> This bug is not reproducible on symbian or meego because the QtTestBrowser uses qt_mobile_theme on these devices. This bug occurs only on a linux machine. 

Linux machines only ? You mean all the Unix desktops where QtWebKit is in use correct ?

> The content size of a push button is set to the size of a single line ... 
> WebCore/platform/qt/RenderThemeQt.cpp +481
> QSize contentSize = fm.size(Qt::TextShowMnemonic, QString::fromLatin1("X")); 

Yes, I saw that but I could not figure out how to get hold of the appropriate content size from the element to avoid the clipping. Otherwise, I would have offered a patch with the bug report as usual...

> So anything beyond a single line is getting clipped. Do you want me to fix this ?(considering that it doesn't occur on symbian/meego)

Yes. This is a rather glaring bug for all of us that are pushing/using QtWebKit on a *nix desktop environment.

-- 
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