Closed
Bug 857463
Opened 12 years ago
Closed 12 years ago
<input type=file> no longer respects @size
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
INVALID
Tracking | Status | |
---|---|---|
firefox22 | --- | affected |
People
(Reporter: MattN, Unassigned)
References
()
Details
(Keywords: regression)
Attachments
(1 file)
939 bytes,
text/html
|
Details |
Since the recent switch to the new <input type=file> without the textbox, the @size attribute seems to be ignored on these elements. Websites such as BMO where I could previously see the entire file name of the selected file, now are truncated to the new default label size despite the increased size specified by the author.
I propose that we keep the same overall width of <input type=file> as before the change by honoring the @size attribute for the label. We can still use an ellipsis when the file name is too long for the specified size. Webpages are already accustomed to our previous width so this should also improve compatibility with them.
See also bug 290327 for issues related to using CSS widths.
Reporter | ||
Updated•12 years ago
|
Attachment #732686 -
Attachment filename: file_857463.txt → file_857463.htm
Attachment #732686 -
Attachment mime type: text/plain → text/html
Comment 1•12 years ago
|
||
Using @size was a Firefox only thing. All other browser simply have a working width. I have a patch that does that for <input type=file> and should hopefully make @size useless for it. See bug 52500.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•