Closed Bug 209035 Opened 21 years ago Closed 21 years ago

SELECT height ignores browser's font.size pref

Categories

(Core :: Layout: Form Controls, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 62384

People

(Reporter: zilla, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030314
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030314

The height of SELECT boxes seems to ignore the font.size preference. If I change
the default size for variable-width fonts to something much larger than normal
then INPUT elements with type=text will be scaled relative to the font, but
SELECT boxes won't - they stay the same size and the contents don't fit in the
available area.

This can be shown easily by using Ctrl-+ (control-plus) to increase the font size.

The width of the SELECT does scale relative to the font size.

Reproducible: Always

Steps to Reproduce:
1. Load a page with at least one SELECT (e.g bugzilla bug report)
2. Press Ctrl-+ several times.

Actual Results:  
Height of SELECT stays constant. Text in SELECT becomes too big and is not visible.

Expected Results:  
Height of SELECT should change with font.size pref, as width does, and as height
of text INPUT does.

I've seen this on windows and linux, so marking OS all.

SELECT heights seem to be scaled correctly when the font is set using CSS, it's
only the font.size pref that is ignored.
duplicate of 62384

*** This bug has been marked as a duplicate of 62384 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.