From 3edadf5a5c0a61239d689ed6f2ed4b7c2333f771 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Tue, 30 Apr 2024 12:25:09 +0200 Subject: [PATCH] Add show-picker-input.dist.yml Safari 16 supported showPicker() for , but the feature description uses as an example, so include it to avoid having to split the feature. --- .../show-picker-input.dist.yml | 30 +++++++++++++++++++ .../show-picker-input.yml | 14 +++++---- 2 files changed, 38 insertions(+), 6 deletions(-) create mode 100644 feature-group-definitions/show-picker-input.dist.yml diff --git a/feature-group-definitions/show-picker-input.dist.yml b/feature-group-definitions/show-picker-input.dist.yml new file mode 100644 index 00000000000..a32547760dd --- /dev/null +++ b/feature-group-definitions/show-picker-input.dist.yml @@ -0,0 +1,30 @@ +# Generated from: show-picker-input.yml +# Do not edit this file by hand. Edit the source file instead! + +name: showPicker() for +description: The `showPicker()` method for `` elements shows the user interface for picking a value. For example, for `` it shows the interface for picking a date. +spec: https://html.spec.whatwg.org/multipage/input.html#dom-input-showpicker +group: forms +usage_stats: https://chromestatus.com/metrics/feature/timeline/popularity/4097 +status: + baseline: false + support: + chrome: "99" + chrome_android: "99" + edge: "99" + firefox: "101" + firefox_android: "101" + safari: "17.4" +compat_features: + - api.HTMLInputElement.showPicker + - api.HTMLInputElement.showPicker.color_input + - api.HTMLInputElement.showPicker.file_input + - api.HTMLInputElement.showPicker.date_input + - api.HTMLInputElement.showPicker.datetime_local_input + # The rest are not supported in Firefox and/or Safari. + # TODO: partial support with notes. + # - api.HTMLInputElement.showPicker.autocomplete_input + # - api.HTMLInputElement.showPicker.datalist_input + # - api.HTMLInputElement.showPicker.month_input + # - api.HTMLInputElement.showPicker.time_input + # - api.HTMLInputElement.showPicker.week_input diff --git a/feature-group-definitions/show-picker-input.yml b/feature-group-definitions/show-picker-input.yml index 5663d5e6010..10f4a9bb3f6 100644 --- a/feature-group-definitions/show-picker-input.yml +++ b/feature-group-definitions/show-picker-input.yml @@ -5,12 +5,14 @@ group: forms usage_stats: https://chromestatus.com/metrics/feature/timeline/popularity/4097 compat_features: - api.HTMLInputElement.showPicker - - api.HTMLInputElement.showPicker.autocomplete_input - api.HTMLInputElement.showPicker.color_input - - api.HTMLInputElement.showPicker.datalist_input + - api.HTMLInputElement.showPicker.file_input - api.HTMLInputElement.showPicker.date_input - api.HTMLInputElement.showPicker.datetime_local_input - - api.HTMLInputElement.showPicker.file_input - - api.HTMLInputElement.showPicker.month_input - - api.HTMLInputElement.showPicker.time_input - - api.HTMLInputElement.showPicker.week_input + # The rest are not supported in Firefox and/or Safari. + # TODO: partial support with notes. + # - api.HTMLInputElement.showPicker.autocomplete_input + # - api.HTMLInputElement.showPicker.datalist_input + # - api.HTMLInputElement.showPicker.month_input + # - api.HTMLInputElement.showPicker.time_input + # - api.HTMLInputElement.showPicker.week_input