Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Behavior if both webkitdirectory and accept attributes are specified #28

Open
inexorabletash opened this issue Dec 12, 2018 · 1 comment

Comments

@inexorabletash
Copy link
Collaborator

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
Copy link
Collaborator Author

Firefox seems to ignore accept here as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant