[Webkit-unassigned] [Bug 126515] New: The attribute 'size' of 'select' element doesn't work when size=2 or 3.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 6 01:31:22 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=126515
Summary: The attribute 'size' of 'select' element doesn't work
when size=2 or 3.
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: changseok.oh at collabora.com
When the size attribute of select tag has 2 or 3. it's working properly. it works like 'size=4'.
Firefox is working with little regard to size=2/3.
As my investigation, this is because minSize in RenderListBox.cpp is limited to 4.
I can guess there has been a historical reason there with the following comment. but I doubt if it's still valid now.
> // The minSize constant was originally defined to render scrollbars correctly
> // This might vary for different platforms.
I couldn't find any problem for Macport running on Marvericks and Lion. The scrollbar shows up and automatically hide after few seconds on the platforms.
And also I don't think GTK port has any problem for size=2/3, though GTK+ 3.0 doesn't paint scrollbar for such a short list, but it presents more lists remained by using up/down arrow indicators.
I propose to change minSize from 4 to 2.
--
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