Closed
Bug 751051
Opened 12 years ago
Closed 3 years ago
FF>3 accept="image/*" array is not configurable
Categories
(Core :: DOM: Forms, defect, P5)
Tracking
()
RESOLVED
INACTIVE
People
(Reporter: havealoha, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0 Build ID: 20120312181643 Steps to reproduce: Tried to add a file type to the image/* array Actual results: I could not find any place to add .jfif or .ico Expected results: This should be editable in a .js, .cfg, .rdf or some other file
On a form, using the value "image/*" for the accept attribute of the HTML input Element, how can I add .pdf to the array of pre-configured file types (.jpe, .jpg, .jpeg, .gif, .png, .bmp, .ico, .svg, .svgz, .tif, .tiff, .ai, .drw, .pct, .psp, .xcf, .psd, .raw)? Say I wanted to add .gif, .jfif or .ico. I find this array limited, how can I add types to image? <input type="file" name="file" accept="image/*" id="file" /> mimeTypes.rdf does not seem to allow this.
Updated•11 years ago
|
Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core
Comment 2•11 years ago
|
||
(In reply to havealoha from comment #1) > On a form, using the value "image/*" for the accept attribute of the HTML > input Element, how can I add .pdf to the array of pre-configured file types > (.jpe, .jpg, .jpeg, .gif, .png, .bmp, .ico, .svg, .svgz, .tif, .tiff, .ai, > .drw, .pct, .psp, .xcf, .psd, .raw)? > > Say I wanted to add .gif, .jfif or .ico. I find this array limited, how can > I add types to image? > > <input type="file" name="file" accept="image/*" id="file" /> > > mimeTypes.rdf does not seem to allow this. Do you want to change "image/*" meaning in a local build or have an <input type='file'> that allow "image/*" and other mime types?
Flags: needinfo?(havealoha)
Neither. I want to add .jfif, .PDF and others. Ideally b editing mimetipes rdf or a .cfg file.
Flags: needinfo?(havealoha)
Comment 4•11 years ago
|
||
The set of extensions for "imageFilter" is stored in filepicker.properties, as part of omnijar, presumbably.
Comment 5•6 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Comment 6•3 years ago
|
||
Resolving as INACTIVE per lack of reply to comment 4.
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Component: DOM: Core & HTML → DOM: Forms
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•