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.
6 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
Last Resolved: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.