Closed
Bug 300979
Opened 19 years ago
Closed 18 years ago
<select multiple size=1> should have a vertical scrollbar
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 109016
People
(Reporter: MatsPalmgren_bugz, Unassigned)
References
()
Details
(Keywords: testcase)
Attachments
(9 files)
<select multiple size=1> should have a vertical scrollbar, at least when there is more than one option/optgroup like in other UAs. I think we should even include it when there isn't any rows to scroll to because otherwise the control looks like a text input (it should be greyed out in this case), this is also consistent we handle other SIZEs when there isn't any rows to scroll to. The URL is the testcase for bug 300474, where you also can find screenshots of the testcase in Opera and IE6. Bug occurs in SeaMonkey 2005-07-11-02 trunk on Linux.
| Reporter | ||
Comment 2•19 years ago
|
||
| Reporter | ||
Comment 3•19 years ago
|
||
| Reporter | ||
Comment 4•19 years ago
|
||
Comment 10•19 years ago
|
||
Comment 11•19 years ago
|
||
Comment 13•19 years ago
|
||
Mozilla browsers may display list boxes when there isn't enough height to draw proper scroll bars. The problem can occur not only for multiple size=1, but also (at least on Mac) for small size values greater than 1, with or without the multiple attribute (see attachments). Related bugs include bug 109016, bug 257731 and bug 204449. A possible solution is to emulate Safari and not draw list boxes with fewer than 4 rows (perhaps on all platforms, not just Mac). Or at least, make sure list boxes are always drawn with enough height to (on each platform) provide a functional graphical scrolling mechanism.
Comment 15•19 years ago
|
||
(In reply to comment #0) > <select multiple size=1> should have a vertical scrollbar, at least when there > is more than one option/optgroup like in other UAs. I think we should even > include it when there isn't any rows to scroll to because otherwise the control > looks like a text input (it should be greyed out in this case), this is also > consistent we handle other SIZEs when there isn't any rows to scroll to. We have started to encounter this, and have done some additional playing around, and it appears that three is the magic number. If the size is set to 1 or 2, then no scroll bars are displayed in the box (this applies to a <select> regardless if multiple is specified). Interesting is the fact that the element is built on the screen with sufficient horizontal space for a scroll bar, but one does not appear. Tests were done with FireFox 1.5.0.4 Conclusion: It appears as though FireFox doesn't "squeeze" the scroll bar controls to fit in a space less that three lines. At first this appeared related to use of <optgroup> but we tested and proved it wasn't. Netscape 7.2 has a similar problem, but it only has the issue on size=1 <select> tags.
Comment 16•18 years ago
|
||
*** This bug has been marked as a duplicate of 109016 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•