When using an accept custom attribute on an input file his show all files rather than the files that I choose (accept = "image/jpeg, image/gif, image/png, image)

Hi, I am trying to use the entry of the file accept to limit the type of file that the user can choose when downloading a file. in fact, I have two problems that I can't understand our:

 1. If i am using the value "image/*" its limit the user to all the images but if i am using a custom
     limit e.g. "image/jpeg,image/gif,image/png,image/bmp" its show all the limits in the select box but the
     default value for ths user is "All Files". In Chrome and IE10 its working as needed.
 2. When i am trying to limit to "swf" files using the value "application/x-shockwave-flash" its show "All Files".
     In Chrome and IE10 its working as needed.

I use Windows 7.

Thank you.

Well, it seems you do what it says in the documentation: https://developer.mozilla.org/en-US/docs/HTML/Element/Input#attr-accept

Firefox actually allow you to drop a folder that is not on the list? In other words, is the problem of acceptance is ignored, or that the filter does not display the dialog box?

Have you had a chance to get all of the bugs in Bugzilla?

Tags: Firefox

Similar Questions

Maybe you are looking for