[Webkit-unassigned] [Bug 28900] <select> controls doesn't render size=2 or size=3 properly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 12 08:13:20 PST 2014


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





--- Comment #34 from ChangSeok Oh <changseok.oh at collabora.com>  2014-01-12 08:10:59 PST ---
(In reply to comment #32)
> (From update of attachment 220841 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=220841&action=review
> 
> > Source/WebCore/rendering/RenderListBox.cpp:72
> > -// The minSize constant was originally defined to render scrollbars correctly.
> > -// This might vary for different platforms.
> > -const int minSize = 4;
> > +const int minSize = 2;
> 
> Why 2 rather than 3 or 1?
Good point. I missed the case multiple=true so I thought RenderListBox couldn't have size=1. But it's not true. If select have multiple=true, RenderListBox can have the size=1.
Theoretically RenderListBox should manage all positive integers for the size attribute. Both FireFox and IE allow the case, size=1 & multiple=true.

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