Closed Bug 285441 Opened 20 years ago Closed 19 years ago

mozilla not displayed scrollbar in the html select node if the select height too small

Categories

(Core :: Layout: Form Controls, defect)

defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 109016

People

(Reporter: pumuckly, Unassigned)

Details

(Keywords: qawanted, Whiteboard: DUPEME)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; hu-HU; rv:1.7.5) Gecko/20041217
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; hu-HU; rv:1.7.5) Gecko/20041217

I would like to make a selectbox in two rows, and lots of options, but if the
selectbox height is too small the scrollbar not displayed.
When I replaced SIZE="2" to SIZE="3" (or change font-size to 24px), the
scrollbar showed.

Reproducible: Always

Steps to Reproduce:
1.
Here is the small example.
<HTML>
<HEAD>
<STYLE type="text/css">
.sel_id { font-size:9px; }
</STYLE>
</HEAD>
<BODY>
<SELECT SIZE="2" CLASS="sel_id">
  <OPTION>1</OPTION>
  <OPTION>2</OPTION>
  <OPTION>3</OPTION>
  <OPTION>4</OPTION>
</SELECT>
</BODY>
</HTML>

2. In this code scrollbar displayed:

<HTML>
<HEAD>
<STYLE type="text/css">
.sel_id { font-size:12px; }
</STYLE>
</HEAD>
<BODY>
<SELECT SIZE="3" CLASS="sel_id">
  <OPTION>1</OPTION>
  <OPTION>2</OPTION>
  <OPTION>3</OPTION>
  <OPTION>4</OPTION>
</SELECT>
</BODY>
</HTML>

Actual Results:  
Then 2nd case the scrollbars appeared in screen.

Expected Results:  
If the scrollbar size to big to display, minimize it to height of the select
element.
Attached file testcase
Assignee: bugs → nobody
Status: UNCONFIRMED → NEW
Component: Migration → Layout: Form Controls
Ever confirmed: true
OS: Windows 2000 → All
Product: Firefox → Core
QA Contact: migration → layout.form-controls
Hardware: PC → All
Version: unspecified → Trunk
This is a duplicate.... Please find the original and mark this duplicate.
Keywords: qawanted
Whiteboard: DUPEME
This looks like a dup of Bug 109016 (or Bug 233157).
If you agree, please mark this bug as such (I'm underprivileged for the task).

*** This bug has been marked as a duplicate of 109016 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
verified dup
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: