Closed Bug 218700 Opened 21 years ago Closed 20 years ago

adding options to SELECT doesn't increase height to accomodate new options

Categories

(Core :: Layout: Form Controls, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 62384

People

(Reporter: jruderman, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

Adding options to a SELECT doesn't increase the height of the select to accomodate the new options. For example, if the select starts with only one option and it is empty, and then some non-empty options are added, the descenders in letters are cut off. Testcase: <select><option></option></select> <button onclick="c=document.createElement('option'); c.appendChild(document.createTextNode('quuasdasdasdx')); document.getElementsByTagName('select')[0].appendChild(c);">Add an option</button> Related: bug 62384, text zoom doesn't change height of SELECTs.
Attached file testcase
1. Load testcase. 2. Click the button. 3. Select the new option. Result: descenders in the option are cut off because the SELECT isn't tall enough.
Depends on: 62384
*** This bug has been marked as a duplicate of 62384 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: