We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 31b3ff0 + bfdb9d0 commit 221e237Copy full SHA for 221e237
html/forms/file-examples/file-example.html
@@ -114,10 +114,18 @@
114
}
115
116
117
+// https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Image_types
118
const fileTypes = [
- 'image/jpeg',
119
- 'image/pjpeg',
120
- 'image/png'
+ 'image/apng',
+ 'image/bmp',
121
+ 'image/gif',
122
+ 'image/jpeg',
123
+ 'image/pjpeg',
124
+ 'image/png',
125
+ 'image/svg+xml',
126
+ 'image/tiff',
127
+ 'image/webp',
128
+ `image/x-icon`
129
];
130
131
function validFileType(file) {
0 commit comments