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

RESOLVED WORKSFORME

Status

()

RESOLVED WORKSFORME
12 years ago
12 years ago

People

(Reporter: timwi, Unassigned)

Tracking

1.8 Branch
x86
Windows 2000
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

562 bytes, text/html
Details
(Reporter)

Description

12 years ago
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
(Reporter)

Comment 2

12 years ago
Created attachment 262158 [details]
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
Last Resolved: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.