Closed
Bug 6131
Opened 26 years ago
Closed 25 years ago
<input type="file"> control: Need mechanism to set button text
Categories
(Core :: XUL, defect, P3)
Tracking
()
RESOLVED
WONTFIX
M11
People
(Reporter: cmanske, Assigned: eric)
Details
The button part of the file picker widget is labeled "Browse..."
It is currently hard-coded string. The HTML 4.0 spec is lacking in details
about this widget, but we need an attribute to set the button text.
Note that "value" is used for the contents of the edit field.
Updated•26 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M7
Updated•26 years ago
|
Target Milestone: M7 → M9
Updated•26 years ago
|
Assignee: kmcclusk → evaughan
Status: ASSIGNED → NEW
Comment 1•26 years ago
|
||
Eric, I'm re-assigning to you since your working on this form element.
Assignee | ||
Updated•26 years ago
|
Target Milestone: M9 → M11
Assignee | ||
Comment 2•26 years ago
|
||
No idea how to do this. Moving to m11
Reporter | ||
Comment 3•26 years ago
|
||
This is a funky widget. I decided not to use it in the editor code because of
its limitations. Its easy to just use a text field and a button to get control
of all attributes, button location, etc. Just an observation.
Assignee | ||
Comment 4•26 years ago
|
||
Actually this widget now uses anonymous nodes so you can change
almoset everything about it except the text value on the button. To change the
button inside try:
input[type="file"] input[type="button"] {
background-color: green;
}
This will make the background color of the browse button green.
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WONTFIX
Assignee | ||
Comment 5•25 years ago
|
||
CSS2 specifies no way of setting this. But its easy enough to just create your
own if you want custom behavior so I am going to close this out as won't fix.
You need to log in
before you can comment on or make changes to this bug.
Description
•