Input accept attribute in Firefox

According to MDN accept=[MIME type] is supported in Firefox. However, I tried the following to no avail:

<input type="file" accept="text/html">


It doesn't filter the HTML files: demo .
Is it a bug or am I missing something?


This is a known Firefox bug:

https://bugzilla.mozilla.org/show_bug.cgi?id=826185

Fortunately, it appears there is a patch for the issue that should be reviewed soon.


我认为这是一个错误或尚未完全实施。

链接地址: http://www.djcxy.com/p/20458.html

上一篇: android上regualr sqlite操作的一个奇怪行为

下一篇: 在Firefox中输入接受属性