Closed Bug 215916 Opened 21 years ago Closed 19 years ago

Select element with CSS:height attribute set strangely changes it's witdth when selection is made

Categories

(Core :: Layout: Form Controls, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 292656

People

(Reporter: anton, Unassigned)

References

()

Details

(Keywords: qawanted, testcase)

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1

See page http://www.angryziber.com/mozillabug.html for an example.
There is a select element. If you choose anything in it, then the element
becomes unexpectedly wide and gets underneath the next text box.

Reproducible: Always

Steps to Reproduce:
1. Open the specified url.
2. Modify selection of Select element a few times.


Actual Results:  
Select element increased it's width.

Expected Results:  
No changes in element's width should take place.
Blocks: 215914
Keywords: qawanted
OS: Windows 2000 → All
Keywords: testcase
Made a simplified testcase of provided URL.

Cannot pinpoint the cause of the 'unlimited growing' bug from that site, but
working on it. This testcase shows the 'small one-off growth' in width when new
selection made.
The new testcase more accurately demonstrates what appears to be 2 different
behaviours depending on where the SELECT dropdowns are located (in tables or
not in tables).

This appears to be caused by the css height declaration.
Attachment #152304 - Attachment is obsolete: true
Confirmed using:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040704
Firefox/0.9.0+
Status: UNCONFIRMED → NEW
Ever confirmed: true
Unlimited growth, and one off small growth issues still occur if style is set
inline.

i.e. These still occur when using <select style="height:20px;"> (in addition to
when <select class="textbox"> is used (see testcase from comment #2 for this))
*** Bug 215914 has been marked as a duplicate of this bug. ***
I verified this got fixed by the patch for bug 292656.

*** This bug has been marked as a duplicate of 292656 ***
Status: NEW → RESOLVED
Closed: 19 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: