api.HTMLInputElement.webkitdirectory

Spec

MDN URL

Status

On the standards track: Yes

Is Experimental: No

Is Deprecated: No

Browser Support

In Chrome version 7 on 2010-10-19

In Chrome Android version 132 on 2025-01-14 Note: In Chrome for Android 131, if a user selects a directory, the browser crashes (see bug 376834374). The property reflects the attribute, but users cannot choose a directory, only individual files (see bug 40248532.

In Edge version 13 on 2015-11-12

In Firefox version 50 on 2016-11-15

Not in Firefox for Android

Not in Internet Explorer

In Quest Browser version 5.0 on undefined Note: The property reflects the attribute, but users cannot choose a directory, only individual files (see bug 40248532.

In Opera version 15 on 2013-07-02

In Opera Android version 87 on 2025-01-22 Note: In Chrome for Android 131, if a user selects a directory, the browser crashes (see bug 376834374). The property reflects the attribute, but users cannot choose a directory, only individual files (see bug 40248532.

In Safari version 11.1 on 2018-04-12

Not in Safari on iOS Note: The property can be set, but has no effect.

In Samsung Internet version 1.0 on 2013-04-27 Note: The property reflects the attribute, but users cannot choose a directory, only individual files (see bug 40248532.

In WebView Android version 132 on 2025-01-14 Note: In Chrome for Android 131, if a user selects a directory, the browser crashes (see bug 376834374). The property reflects the attribute, but users cannot choose a directory, only individual files (see bug 40248532.

Not in WebView on iOS Note: The property can be set, but has no effect.