Raised by @triblondon over in w3ctag/design-reviews#215
What is the behavior if <input type=file webkitdirectory multiple> is used, i.e. if both webkitdirectory and multiple attributes are specified? Does one attribute override the other, or can multiple directories be selected?
The current behavior in Chrome is that webkitdirectory overrides multiple, and the latter has no effect. Only a single directory can be selected. I have not yet tested other implementations.
This should be specified somewhere. (Presumably in HTML eventually, but here for now.)
Raised by @triblondon over in w3ctag/design-reviews#215
What is the behavior if
<input type=file webkitdirectory multiple>is used, i.e. if bothwebkitdirectoryandmultipleattributes are specified? Does one attribute override the other, or can multiple directories be selected?The current behavior in Chrome is that
webkitdirectoryoverridesmultiple, and the latter has no effect. Only a single directory can be selected. I have not yet tested other implementations.This should be specified somewhere. (Presumably in HTML eventually, but here for now.)