Closed Bug 201472 Opened 21 years ago Closed 21 years ago

can't set (proportional and fixed) width for input file field

Categories

(Core :: Layout: Form Controls, defect)

All
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 52500

People

(Reporter: mirza, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312

if you use style="width: 100%" for <input type="file" ...> mozilla ignores it.
this is only for "file" input, not for other input fields.

Reproducible: Always

Steps to Reproduce:
1. put this in a html file: <input type="file" size="20" style="width: 100%">
2. view it in mozilla 1.3 (and lower versions probably)


Actual Results:  
3. input field is not 100% long, but it has length of 20 (size).
4. conclusion: mozilla ignores 100% for input file fiels

Expected Results:  
it should show the field with width of 100% (i.e. in a table)
->form controls, but don't ask me what the expected behavior is.  (I'd be
perfectly happy with wontfix.)
Assignee: dbaron → form
Component: Style System → Layout: Form Controls
QA Contact: ian → desale
But what expands? The button portion, the text field looking portion, the
whitespace between them? All of the above? But I digress...

This is a dupe of bug 52500



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