Closed Bug 378050 Opened 17 years ago Closed 17 years ago

Changes to 'width' of a <select> cause items to get truncated

Categories

(Core :: Layout: Form Controls, defect)

1.8 Branch
x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: timwi, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

See STR.

Reproducible: Always

Steps to Reproduce:
1. View the attached testcase.
2. Press tab. This focuses the <select> box and expands it according to the CSS rule.
3. Press tab again. This focuses the submit button and collapses the <select> box again.
4. Press Shift-tab. Focus goes back to the <select> box, but the bug occurs.
5. Select the second option in the <select> box to make the bug more apparent.
Actual Results:  
After following the STR, the select box starts to display the selected item truncated to a width of 10em.

Expected Results:  
The full width of the <select> box should be used to display the item (which interestingly it does properly after Step 2, but only then).

Once the bug occurs it appears to keep reoccurring until you reload the page.
I see no attached testcase.
Component: General → Layout: Form Controls
Product: Firefox → Core
QA Contact: general → layout.form-controls
Version: unspecified → 1.8 Branch
Attached file Testcase
Sorry, forgot :)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a4pre) Gecko/20070418 Minefield/3.0a4pre
This was fixed-on-trunk, by Bug 300030.
You can try it out: http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/
Resolving WORKSFORME.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: