Closed
Bug 995190
Opened 11 years ago
Closed 10 years ago
Implement the accept attribute for the form and file upload controls for custom file extension
Categories
(Core :: DOM: Core & HTML, enhancement, P3)
Tracking
()
RESOLVED
DUPLICATE
of bug 826176
People
(Reporter: brunoaiss, Unassigned)
Details
This is a follow-up from bug 565274 which is only implementing the MIME types part.
The idea of this bug is to also implement the file extensions part as specified (the last bullet of the list):
http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#attr-input-accept
For example:
<input type="file" accept=".jpg,.pdf">
This means that it will show, as the option in the file picker, files with .jpg and .pdf extensions.
Updated•10 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•