Open Bug 109016 Opened 23 years ago Updated 2 years ago

<select multiple size="1"> scroll widget too large (or too small?)

Categories

(Core :: Layout: Form Controls, defect)

defect

Tracking

()

Future

People

(Reporter: han.holl, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: platform-parity, testcase)

Attachments

(4 files)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5+) Gecko/20011106
BuildID:    2001110612

Only the upper triangle of the tiny scroll widget
shows. Enlarging the font a couple of times helps.

<HTML>
<BODY>

<form>
<SELECT multiple size="1">
<option selected>eeyore
<option>pooh
<option>piglet
</SELECT>
</BODY>
</HTML>


Reproducible: Always
Steps to Reproduce:
1.Load a page with the above example on it
2.
3.
Attached file Testcase
form controls.  Can't find a dup, so marking NEW.  I see this with build
2001-11-01-08 and current cvs trunk
Assignee: attinasi → rods
Status: UNCONFIRMED → NEW
Component: Layout → HTML Form Controls
Ever confirmed: true
QA Contact: petersen → madhur
I don't see a problem here?  With the 2001-11-16-03 build, the testcase looks
fine -- just as fine as in IE.  What's exactly wrong?
Håkan, try using Linux to look at the testcase.... adding pp keyword.  :)

The issue is that there is a scrollbar on the right side of that select, but
only enough space for the top scroll arrow on that scrollbar.  So the bottom
scroll arrow does not show.
Keywords: pp
for what it is worth, it looks fine on Windows
Status: NEW → ASSIGNED
Target Milestone: --- → Future
*** Bug 117190 has been marked as a duplicate of this bug. ***
Bug still happens to exist on actual: Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.3a) Gecko/20021212
*** Bug 216024 has been marked as a duplicate of this bug. ***
Keywords: testcase
Summary: <select multiple size="1"> scroll widget too large → <select multiple size="1"> scroll widget too large (or too small?)
Note that on Mac, there's no scrollbar at all when "multiple size=1" is used.
There's a dropdown-button when "size=1" is used, though.

Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5b) Gecko/20030813
Mac OS X 10.2.6
i see this on XP - Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b)
Gecko/20030813 Mozilla Firebird/0.6.1+ (regardless of theme).

if the height of the select is less that 2 x the height of the scroll arrows,
the scroll arrows are not displayed, making it difficult to scroll the select.

IE6 doesn't change the font size of the select when you change the web page's
text size, so i can't reproduce in IE.

perhaps the minimul height of a select should be 2 x height of scroll arrows?
Changing to all/all because of comment 9 and comment 10.

>perhaps the minimul height of a select should be 2 x height of scroll arrows?

Note that Safari always wants to display a 'real' scrollbar (2 arrows and a
throbber), and that ends up to be the equivalent of size="4".
OS: Linux → All
Hardware: PC → All
Attached file CSS, size BUG Example
select bug example for css (style), size / multiple
*** Bug 252459 has been marked as a duplicate of this bug. ***
Assignee: rods → nobody
Status: ASSIGNED → NEW
Attached image good display
It is annoyed bug because all browsers can display <select multiple size="1">
correctly.
-> default owner and qa
QA Contact: madhur → core.layout.form-controls
*** Bug 263007 has been marked as a duplicate of this bug. ***
*** Bug 285441 has been marked as a duplicate of this bug. ***
*** Bug 233157 has been marked as a duplicate of this bug. ***
*** Bug 301937 has been marked as a duplicate of this bug. ***
*** Bug 301930 has been marked as a duplicate of this bug. ***
My example below shows a multiple selection, size 2 (but 7 elements) with no scroll bar.  There should be a scroll bar here.

<select name="edition[]" multiple size="2" title="Hold the CTRL key to select multiple Editions." />
<option value="1">Edition 1</option>
<option value="2">Edition 2</option>
<option value="3">Edition 3</option>
<option value="4">Edition 4</option>
<option value="5">Edition 5</option>
<option value="6">Edition 6</option>
<option value="7">Edition 7</option>
</select>
*** Bug 345337 has been marked as a duplicate of this bug. ***
*** Bug 300979 has been marked as a duplicate of this bug. ***
This is not a problem with Firefox 1.5.0.4 on Windows XP, so I think that this report should no longer show OS as being 'All', but rather Windows 2000, which is what I indicated where I first reported this problem (as part of the new bug report 345337, which has now been dup'd to this one).

More information: It works fine with Mozilla 1.7.13 on Windows XP.  It does not work fine (it exhibits the bug) with Mozilla 1.7.12 on Windows 2000.
More information: It works fine using Firefox 1.5.0.4 on Linux Red Hat 9.
(In reply to comment #26)
> This is not a problem with Firefox 1.5.0.4 on Windows XP, so I think that this
> report should no longer show OS as being 'All', but rather Windows 2000, which
> is what I indicated where I first reported this problem (as part of the new bug
> report 345337, which has now been dup'd to this one).
> 
> More information: It works fine with Mozilla 1.7.13 on Windows XP.  It does not
> work fine (it exhibits the bug) with Mozilla 1.7.12 on Windows 2000.
> 

I repeated the test with FireFox 1.5.0.5 on Windows XP SP2 and confirm the issue exists on this platform with this browser.  In fact, no scrollbars are presented for a size of 1 or 2.

I installed Mozilla 1.7.13 and confirmed the issue only exists when the size=1.

I installed Netscape 8.1 and confirmed the issue only exists when the size=1.

So, based on this I would disagree that it's an issue isolated to Windows 2000.
*** Bug 348213 has been marked as a duplicate of this bug. ***
I suspect this is more or less the same issue as bug 292284.
Depends on: 292284
*** Bug 349539 has been marked as a duplicate of this bug. ***
This bug is 5 years old and still not fixed?
I tried Firefox/Trunk/Linux.
This bug is still reproducible but bug 348213 isn't.
Are these the same problem?

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20061102 Minefield/3.0a1
welcome to 2008 
The bug is still there. 

http://www.w3schools.com/TAGS/tryit.asp?filename=tryhtml_select2

<html>
<body>

<form action="">
<select name="cars" multiple="multiple" size="1">
  <option value="volvo">Volvo</option>
  <option value="saab">Saab</option>
  <option value="fiat">Fiat</option>
  <option value="audi">Audi</option>
</select>
</form>

</body>
</html>
unbelievable, five years since my last report.
it really scares me!
Please read https://bugzilla.mozilla.org/etiquette.html before adding more comments.

If you think this bug is mis-prioritized, please make that argument on m.d.t.layout, with a list of bugs that whoever will be fixing this fixed in the last 5 years that they should not have fixed in favor of fixing this.
Severity: normal → S3

The severity field for this bug is relatively low, S3. However, the bug has 11 duplicates and 11 votes.
:emilio, could you consider increasing the bug severity?

For more information, please visit auto_nag documentation.

Flags: needinfo?(emilio)
Flags: needinfo?(emilio)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: