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)
Tracking
()
People
(Reporter: jruderman, Unassigned)
References
()
Details
(Keywords: testcase)
Attachments
(1 file)
231 bytes,
text/html
|
Details |
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.
Reporter | ||
Comment 1•21 years ago
|
||
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.
Comment 2•20 years ago
|
||
*** 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.
Description
•