mdn / browser-compat-data

This repository contains compatibility data for Web technologies as displayed on MDN
https://developer.mozilla.org
Creative Commons Zero v1.0 Universal
4.91k stars 1.97k forks source link

api.HTMLInputElement.webkitdirectory - Fix for #11982 reverted, but still unsupported on any mobile browser #24357

Open danielhjacobs opened 1 week ago

danielhjacobs commented 1 week ago

What type of issue is this?

Incorrect support data (example: BrowserX says "86" but support was added in "40")

What information was incorrect, unhelpful, or incomplete?

11982 was fixed by https://github.com/mdn/browser-compat-data/pull/21451 but the fix was reverted by https://github.com/mdn/browser-compat-data/pull/22050.

What browsers does this problem apply to, if applicable?

Chromium (Chrome, Edge 79+, Opera, Samsung Internet), Firefox, Safari

What did you expect to see?

It's more accurate to say no mobile browsers support webkitdirectory, because https://caniuse.com/input-file-directory is unsupported on all of them.

Did you test this? If so, how?

Yeah, I tried using this option on a phone and there was no way to choose a folder to upload.

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

https://bugs.webkit.org/show_bug.cgi?id=271705 https://issues.chromium.org/issues/40248532 https://bugzilla.mozilla.org/show_bug.cgi?id=1887878

Do you have anything more you want to share?

No response

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory

MDN metadata

MDN page report details * Query: `api.HTMLInputElement.webkitdirectory` * Report started: 2024-09-06T03:11:46.684Z
danielhjacobs commented 1 week ago

What might be confusing and I'm not sure if there's an easy way to reconcile is I think it's "supported" in that it is recognized by the browser but there is no code in the file chooser interface on mobile phones to allow selection of a directory when using it.