Closed Bug 254603 Opened 20 years ago Closed 20 years ago

<input type="file" style="width: 400px;"> does not render correctly

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 52500

People

(Reporter: SimonWhite, Assigned: bugzilla)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040707 Firefox/0.8
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040707 Firefox/0.8

The inline style is rendered incorrectly in FireFox .092.  It does not move the
button over to the right beside the input box.  Instead it enlarges the input
box and leaves the button in the original location so that the button is sitting
on top of the input box.  The input box is also incorrectly drawn.  

If I use size attribute instead of an inline style everything works correctly. 
The above sample is rendered correctly in IE.

Reproducible: Always
Steps to Reproduce:
1.<input type="file" style="width: 400px;">
2.
3.

Actual Results:  
Button does not shift to the right but stays in its default position with the
input box extending out past the button to the right.

Expected Results:  
Expected button to be moved to the right so that the entire input box was to the
left of the button as it is when you use the "size" attribute.

*** This bug has been marked as a duplicate of 52500 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.