Skip to content

Behavior if both webkitdirectory and multiple attributes are specified  #24

@inexorabletash

Description

@inexorabletash

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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions