[Webkit-unassigned] [Bug 56752] [QT] The minimum size of the select menu list is incorrect for qtwebkit

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 30 06:41:01 PDT 2011


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


Doreen Jiang <doreen.jiang at nokia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[QT] Overlap of selection   |[QT] The minimum size of
                   |lists on                    |the select menu list is
                   |www.travelocity.com         |incorrect for qtwebkit




--- Comment #6 from Doreen Jiang <doreen.jiang at nokia.com>  2011-03-30 06:41:01 PST ---
The root cause of the issue is about hardcoded value of 7*(size of one character) to render a menu list instead of actual size of the menu list.

So, i have modified RederThemeQt.cpp to use the minimal size of one character instead of 7 characters.

Here we are matching the rendering behavior of Chrome, Safari, Firefox and IE.
For each of these browsers, the width of the select-box is calculated to be as small as possible;
just wide enough to hold the widest entry.
So it seems to make sense to match this rendering behavior, especially since the current implementation
(a hard minimum of seven characters) causes us to misrender a popular sites.

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