Closed
Bug 249570
Opened 20 years ago
Closed 20 years ago
textbox in an <input type="file"> does not resize correctly to css width property.
Categories
(Core :: Layout: Form Controls, defect)
Core
Layout: Form Controls
Tracking
()
People
(Reporter: dwightb, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040626 Firefox/0.8 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040626 Firefox/0.8 The form field input type=file only resizes the container. When the width is set the textbox should resize to fill the available space. This is correctly handled in IE6 and Opera 7.51 Reproducible: Always Steps to Reproduce: 1. Create a form field like: <input type="file" style="width: 4in;" /> Actual Results: Only the container resized to the correct width. This can be verified by changing the page background color or putting a border around the control. Expected Results: Resize the textbox of the control to fill the available space.
Reporter | ||
Updated•20 years ago
|
Summary: textbox in an <input type="file"> does not resize to css width → textbox in an <input type="file"> does not resize correctly to css width property.
Comment 1•20 years ago
|
||
I see this too. test case: data:text/html,<html><head></head><body style="background-color: #eeeeee"><form name="test"><input type="text" style="width: 4in;"/><br/><input type="file" style="width: 4in;" /></form></body></html> Confirming
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•20 years ago
|
iirc form controls are entirely underspecified.
Whiteboard: DUPEME
Comment 3•20 years ago
|
||
*** This bug has been marked as a duplicate of 52500 ***
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
•