Add features for <input type="file" multiple> and<input type="file" webkitdirectory>
#3486
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This creates features that handle uploading files and directories with form inputs. They map to:
This approach treats these attributes as a distinct input type, like we do for various
<input type="…">scenarios, though it's admittedly weird for it to be via an attribute.While I was here, I sifted through
draft/file-and-directory-entries.yml, disposing of the keys which were already assigned. This left me with almost nothing. The remaining exceptions largely have poor data quality in BCD (see mdn/browser-compat-data#19304) and won't work as a "feature" until that's resolved.Closes #3438, closes #2993, and closes #2633.