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.98k forks source link

api.HTMLInputElement.showPicker - Safari data is incorrect #24011

Open hartman opened 1 month ago

hartman commented 1 month 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?

showPicker are listed as supported for Mobile and Desktop Safari 14+. This is however only partially correct.

What browsers does this problem apply to, if applicable?

Safari

What did you expect to see?

This should come with a note that on iOS this method only works for the fileInput

On Desktop it works only for the fileInput, color picker, with date pickers and text pickers for datalist/email/number/text/tel/search/url only working in Safari 17+

Did you test this? If so, how?

This can be tested with https://demo.lukewarlow.dev/showPicker/

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

https://bugs.webkit.org/show_bug.cgi?id=261703

Do you have anything more you want to share?

No response

MDN URL

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

MDN metadata

MDN page report details * Query: `api.HTMLInputElement.showPicker` * Report started: 2024-07-31T15:51:10.763Z
hartman commented 1 month ago

Where I said Safari 14+ I meant Safari 16+.

hartman commented 1 month ago

According to https://caniuse.com/?search=showPicker Desktop got some of these newer pickers in 17.0 and others in 17.5