entries-api icon indicating copy to clipboard operation
entries-api copied to clipboard

Behavior if both webkitdirectory and accept attributes are specified

Open inexorabletash opened this issue 6 years ago • 1 comments

See https://bugs.chromium.org/p/chromium/issues/detail?id=102984

The expectation of at least one developer is that in this case:

<input type=file webkitdirectory accept="image/*">

... then if a directory is chosen, only image files would be included.

In Chrome, the accept attribute is ignored (similar to the multiple case in #24)

We should verify behavior in Firefox/Safari/Edge

inexorabletash avatar Dec 12 '18 22:12 inexorabletash

Firefox seems to ignore accept here as well.

inexorabletash avatar Dec 13 '18 00:12 inexorabletash