From 7252125511bd3ae1f3e459edfd5dbfddec708964 Mon Sep 17 00:00:00 2001 From: Pete LePage Date: Tue, 16 Jul 2024 16:07:08 -0400 Subject: [PATCH 01/23] Add the `` element --- features/{draft/html-elements => }/input.yml | 5 +++-- features/{draft/html-elements => }/input.yml.dist | 14 ++++++++++++-- 2 files changed, 15 insertions(+), 4 deletions(-) rename features/{draft/html-elements => }/input.yml (94%) rename features/{draft/html-elements => }/input.yml.dist (97%) diff --git a/features/draft/html-elements/input.yml b/features/input.yml similarity index 94% rename from features/draft/html-elements/input.yml rename to features/input.yml index a06ad0700e7..1fed7778a69 100644 --- a/features/draft/html-elements/input.yml +++ b/features/input.yml @@ -1,8 +1,9 @@ -draft_date: 2024-06-05 name: -description: The `` element TODO. +description: The `` element allows the user to input information to a form; a number of types of input data and control widgets are available, depending on the device and browser. spec: https://html.spec.whatwg.org/multipage/input.html#the-input-element group: forms +status: + compute_from: html.elements.input compat_features: - api.HTMLInputElement - api.HTMLInputElement.accept diff --git a/features/draft/html-elements/input.yml.dist b/features/input.yml.dist similarity index 97% rename from features/draft/html-elements/input.yml.dist rename to features/input.yml.dist index fee5b5c7702..bcecd31dfd3 100644 --- a/features/draft/html-elements/input.yml.dist +++ b/features/input.yml.dist @@ -2,9 +2,19 @@ # Do not edit this file by hand. Edit the source file instead! status: - baseline: false - support: {} + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 + support: + chrome: "1" + chrome_android: "18" + edge: "12" + firefox: "1" + firefox_android: "4" + safari: "1" + safari_ios: "1" compat_features: + # ⬇️ Same status as overall feature ⬇️ # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 From 6378cc540d98442898100653e077861e8eb1853e Mon Sep 17 00:00:00 2001 From: Pete LePage Date: Fri, 19 Jul 2024 11:09:52 -0400 Subject: [PATCH 02/23] group --- features/input.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/features/input.yml b/features/input.yml index 1fed7778a69..eea21885592 100644 --- a/features/input.yml +++ b/features/input.yml @@ -1,7 +1,9 @@ name: description: The `` element allows the user to input information to a form; a number of types of input data and control widgets are available, depending on the device and browser. spec: https://html.spec.whatwg.org/multipage/input.html#the-input-element -group: forms +group: + - forms + - html-elements status: compute_from: html.elements.input compat_features: From ba156abcc4a2a3e52c3b131adcd3166aa5a2b8b4 Mon Sep 17 00:00:00 2001 From: Pete LePage Date: Wed, 21 Aug 2024 09:52:04 -0400 Subject: [PATCH 03/23] rename to input-text --- features/{input.yml => input-text.yml} | 0 features/{input.yml.dist => input-text.yml.dist} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename features/{input.yml => input-text.yml} (100%) rename features/{input.yml.dist => input-text.yml.dist} (100%) diff --git a/features/input.yml b/features/input-text.yml similarity index 100% rename from features/input.yml rename to features/input-text.yml diff --git a/features/input.yml.dist b/features/input-text.yml.dist similarity index 100% rename from features/input.yml.dist rename to features/input-text.yml.dist From 6a83a913f1cae989e12d70abae13ecde09ec0698 Mon Sep 17 00:00:00 2001 From: Pete LePage Date: Wed, 21 Aug 2024 10:39:56 -0400 Subject: [PATCH 04/23] individual features for special input types --- features/input-color.yml | 9 ++ features/input-color.yml.dist | 14 +++ features/input-date-time.yml | 16 ++++ features/input-date-time.yml.dist | 51 +++++++++++ features/input-email-tel-url.yml | 14 +++ features/input-email-tel-url.yml.dist | 54 ++++++++++++ features/input-number.yml | 12 +++ features/input-number.yml.dist | 56 ++++++++++++ features/input-range.yml | 16 ++++ features/input-range.yml.dist | 40 +++++++++ ...search-input-type.yml => input-search.yml} | 0 features/input-search.yml.dist | 6 ++ features/{input-text.yml => input.yml} | 19 ---- .../{input-text.yml.dist => input.yml.dist} | 88 ------------------- features/search-input-type.yml.dist | 17 ---- 15 files changed, 288 insertions(+), 124 deletions(-) create mode 100644 features/input-color.yml create mode 100644 features/input-color.yml.dist create mode 100644 features/input-date-time.yml create mode 100644 features/input-date-time.yml.dist create mode 100644 features/input-email-tel-url.yml create mode 100644 features/input-email-tel-url.yml.dist create mode 100644 features/input-number.yml create mode 100644 features/input-number.yml.dist create mode 100644 features/input-range.yml create mode 100644 features/input-range.yml.dist rename features/{search-input-type.yml => input-search.yml} (100%) create mode 100644 features/input-search.yml.dist rename features/{input-text.yml => input.yml} (81%) rename features/{input-text.yml.dist => input.yml.dist} (81%) delete mode 100644 features/search-input-type.yml.dist diff --git a/features/input-color.yml b/features/input-color.yml new file mode 100644 index 00000000000..b29f291920e --- /dev/null +++ b/features/input-color.yml @@ -0,0 +1,9 @@ +name: '' +description: The `` HTML element with the `type="color"` attribute represents a color picker, which might be styled differently by the browser. +spec: https://html.spec.whatwg.org/multipage/input.html#color-state-(type=color) +group: + - forms + - html-elements +caniuse: input-color +compat_features: + - html.elements.input.type_color diff --git a/features/input-color.yml.dist b/features/input-color.yml.dist new file mode 100644 index 00000000000..3e109874032 --- /dev/null +++ b/features/input-color.yml.dist @@ -0,0 +1,14 @@ +# Generated from: input-color.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + chrome: "20" + chrome_android: "25" + edge: "14" + firefox: "29" + safari: "12.1" + safari_ios: "12.2" +compat_features: + - html.elements.input.type_color diff --git a/features/input-date-time.yml b/features/input-date-time.yml new file mode 100644 index 00000000000..91fec251da4 --- /dev/null +++ b/features/input-date-time.yml @@ -0,0 +1,16 @@ +name: date, datetime-local, time, and week +description: The `` element allows the user to input date and time information to a form. +spec: https://html.spec.whatwg.org/multipage/input.html#date-state-(type=date) +group: + - forms + - html-elements +status: + compute_from: html.elements.input.type_date +caniuse: input-datetime +compat_features: + - html.elements.input.type_date + - html.elements.input.type_datetime-local + # Excluded because of a non-real value + # - html.elements.input.type_month + - html.elements.input.type_time + - html.elements.input.type_week diff --git a/features/input-date-time.yml.dist b/features/input-date-time.yml.dist new file mode 100644 index 00000000000..9edfd366836 --- /dev/null +++ b/features/input-date-time.yml.dist @@ -0,0 +1,51 @@ +# Generated from: input-date-time.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2021-04-26 + baseline_high_date: 2023-10-26 + support: + chrome: "20" + chrome_android: "25" + edge: "12" + firefox: "57" + firefox_android: "57" + safari: "14.1" + safari_ios: "5" +compat_features: + # ⬇️ Same status as overall feature ⬇️ + # baseline: high + # baseline_low_date: 2021-04-26 + # baseline_high_date: 2023-10-26 + # support: + # chrome: "20" + # chrome_android: "25" + # edge: "12" + # firefox: "57" + # firefox_android: "57" + # safari: "14.1" + # safari_ios: "5" + - html.elements.input.type_date + - html.elements.input.type_time + + # baseline: high + # baseline_low_date: 2021-10-05 + # baseline_high_date: 2024-04-05 + # support: + # chrome: "20" + # chrome_android: "25" + # edge: "12" + # firefox: "93" + # firefox_android: "93" + # safari: "14.1" + # safari_ios: "5" + - html.elements.input.type_datetime-local + + # baseline: false + # support: + # chrome: "20" + # chrome_android: "25" + # edge: "12" + # firefox_android: "18" + - html.elements.input.type_week diff --git a/features/input-email-tel-url.yml b/features/input-email-tel-url.yml new file mode 100644 index 00000000000..e5bf926a046 --- /dev/null +++ b/features/input-email-tel-url.yml @@ -0,0 +1,14 @@ +name: email, tel, and url +description: The `` element allows the user to input information to a form intended for email addresses, telephone numbers or URLs. Particularly useful in combination with form validation. +spec: + - https://html.spec.whatwg.org/multipage/input.html#email-state-(type=email) + - https://html.spec.whatwg.org/multipage/input.html#telephone-state-(type=tel) + - https://html.spec.whatwg.org/multipage/input.html#url-state-(type=url) +group: + - forms + - html-elements +caniuse: input-email-tel-url +compat_features: + - html.elements.input.type_email + - html.elements.input.type_tel + - html.elements.input.type_url diff --git a/features/input-email-tel-url.yml.dist b/features/input-email-tel-url.yml.dist new file mode 100644 index 00000000000..0c6d19ee796 --- /dev/null +++ b/features/input-email-tel-url.yml.dist @@ -0,0 +1,54 @@ +# Generated from: input-email-tel-url.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 + support: + chrome: "5" + chrome_android: "18" + edge: "12" + firefox: "4" + firefox_android: "4" + safari: "5" + safari_ios: "3" +compat_features: + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "1" + # safari_ios: "1" + - html.elements.input.type_url + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "3" + # chrome_android: "18" + # edge: "12" + # firefox: "4" + # firefox_android: "4" + # safari: "4" + # safari_ios: "3" + - html.elements.input.type_tel + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "5" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "5" + # safari_ios: "3" + - html.elements.input.type_email diff --git a/features/input-number.yml b/features/input-number.yml new file mode 100644 index 00000000000..352557eee55 --- /dev/null +++ b/features/input-number.yml @@ -0,0 +1,12 @@ +name: '' +description: The `` element allows the user to input numeric information to a form. +spec: https://html.spec.whatwg.org/multipage/input.html#number-state-(type=number) +group: + - forms + - html-elements +caniuse: input-number +compat_features: + - html.elements.input.max + - html.elements.input.min + - html.elements.input.step + - html.elements.input.type_number diff --git a/features/input-number.yml.dist b/features/input-number.yml.dist new file mode 100644 index 00000000000..e8630d2ba7c --- /dev/null +++ b/features/input-number.yml.dist @@ -0,0 +1,56 @@ +# Generated from: input-number.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 + support: + chrome: "7" + chrome_android: "18" + edge: "12" + firefox: "29" + firefox_android: "29" + safari: "5.1" + safari_ios: "5" +compat_features: + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "4" + # chrome_android: "18" + # edge: "12" + # firefox: "16" + # firefox_android: "16" + # safari: "5" + # safari_ios: "4" + - html.elements.input.max + - html.elements.input.min + + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "5" + # chrome_android: "18" + # edge: "12" + # firefox: "16" + # firefox_android: "16" + # safari: "5" + # safari_ios: "4" + - html.elements.input.step + + # ⬇️ Same status as overall feature ⬇️ + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "7" + # chrome_android: "18" + # edge: "12" + # firefox: "29" + # firefox_android: "29" + # safari: "5.1" + # safari_ios: "5" + - html.elements.input.type_number diff --git a/features/input-range.yml b/features/input-range.yml new file mode 100644 index 00000000000..80d997cc720 --- /dev/null +++ b/features/input-range.yml @@ -0,0 +1,16 @@ +name: '' +description: The `` element allows the user to select a value using a slider widget. +spec: https://html.spec.whatwg.org/multipage/input.html#range-state-(type=range) +group: + - forms + - html-elements +caniuse: input-range +compat_features: + # Included in input-number.yml + # - html.elements.input.max + # - html.elements.input.min + # - html.elements.input.step + - html.elements.input.type_range + - html.elements.input.type_range.vertical_orientation + # Excluded because of a non-real value + # - html.elements.input.type_range.tick_marks diff --git a/features/input-range.yml.dist b/features/input-range.yml.dist new file mode 100644 index 00000000000..315f67a839f --- /dev/null +++ b/features/input-range.yml.dist @@ -0,0 +1,40 @@ +# Generated from: input-range.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: low + baseline_low_date: 2024-04-16 + support: + chrome: "124" + chrome_android: "124" + edge: "12" + firefox: "120" + firefox_android: "120" + safari: "16.5" + safari_ios: "16.5" +compat_features: + # baseline: high + # baseline_low_date: 2017-03-16 + # baseline_high_date: 2019-09-16 + # support: + # chrome: "4" + # chrome_android: "57" + # edge: "12" + # firefox: "23" + # firefox_android: "52" + # safari: "3.1" + # safari_ios: "5" + - html.elements.input.type_range + + # ⬇️ Same status as overall feature ⬇️ + # baseline: low + # baseline_low_date: 2024-04-16 + # support: + # chrome: "124" + # chrome_android: "124" + # edge: "12" + # firefox: "120" + # firefox_android: "120" + # safari: "16.5" + # safari_ios: "16.5" + - html.elements.input.type_range.vertical_orientation diff --git a/features/search-input-type.yml b/features/input-search.yml similarity index 100% rename from features/search-input-type.yml rename to features/input-search.yml diff --git a/features/input-search.yml.dist b/features/input-search.yml.dist new file mode 100644 index 00000000000..e9c5620f286 --- /dev/null +++ b/features/input-search.yml.dist @@ -0,0 +1,6 @@ +# Generated from: input-search.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: {} diff --git a/features/input-text.yml b/features/input.yml similarity index 81% rename from features/input-text.yml rename to features/input.yml index eea21885592..42b6a927ab0 100644 --- a/features/input-text.yml +++ b/features/input.yml @@ -67,9 +67,7 @@ compat_features: - html.elements.input.formnovalidate - html.elements.input.formtarget - html.elements.input.list - - html.elements.input.max - html.elements.input.maxlength - - html.elements.input.min - html.elements.input.minlength - html.elements.input.multiple - html.elements.input.name @@ -80,31 +78,14 @@ compat_features: # Excluded because of a non-real value # - html.elements.input.size - html.elements.input.src - - html.elements.input.step - html.elements.input.type_button - html.elements.input.type_checkbox - - html.elements.input.type_color - - html.elements.input.type_date - - html.elements.input.type_datetime-local - - html.elements.input.type_email - html.elements.input.type_file - html.elements.input.type_hidden - html.elements.input.type_image - # Excluded because of a non-real value - # - html.elements.input.type_month - - html.elements.input.type_number - html.elements.input.type_password - html.elements.input.type_password.insecure_login_handling - html.elements.input.type_radio - - html.elements.input.type_range - # Excluded because of a non-real value - # - html.elements.input.type_range.tick_marks - # - html.elements.input.type_range.vertical_orientation - html.elements.input.type_reset - html.elements.input.type_submit - # Excluded because of a non-real value - # - html.elements.input.type_tel - html.elements.input.type_text - - html.elements.input.type_time - - html.elements.input.type_url - - html.elements.input.type_week diff --git a/features/input-text.yml.dist b/features/input.yml.dist similarity index 81% rename from features/input-text.yml.dist rename to features/input.yml.dist index bcecd31dfd3..5228fa454ef 100644 --- a/features/input-text.yml.dist +++ b/features/input.yml.dist @@ -62,7 +62,6 @@ compat_features: - html.elements.input.type_reset - html.elements.input.type_submit - html.elements.input.type_text - - html.elements.input.type_url # baseline: high # baseline_low_date: 2015-07-29 @@ -189,21 +188,6 @@ compat_features: # safari_ios: "4" - api.HTMLInputElement.max - api.HTMLInputElement.min - - html.elements.input.max - - html.elements.input.min - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "5" - # chrome_android: "18" - # edge: "12" - # firefox: "1" - # firefox_android: "4" - # safari: "5" - # safari_ios: "3" - - html.elements.input.type_email # baseline: high # baseline_low_date: 2015-07-29 @@ -218,20 +202,6 @@ compat_features: # safari_ios: "4" - api.HTMLInputElement.step - api.HTMLInputElement.valueAsNumber - - html.elements.input.step - - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "7" - # chrome_android: "18" - # edge: "12" - # firefox: "29" - # firefox_android: "29" - # safari: "5.1" - # safari_ios: "5" - - html.elements.input.type_number # baseline: high # baseline_low_date: 2015-07-29 @@ -293,19 +263,6 @@ compat_features: # safari_ios: "6" - api.HTMLInputElement.selectionDirection - # baseline: high - # baseline_low_date: 2017-03-16 - # baseline_high_date: 2019-09-16 - # support: - # chrome: "4" - # chrome_android: "57" - # edge: "12" - # firefox: "23" - # firefox_android: "52" - # safari: "3.1" - # safari_ios: "5" - - html.elements.input.type_range - # baseline: high # baseline_low_date: 2017-11-28 # baseline_high_date: 2020-05-28 @@ -386,33 +343,6 @@ compat_features: # safari_ios: "7" - api.HTMLInputElement.setRangeText - # baseline: high - # baseline_low_date: 2021-04-26 - # baseline_high_date: 2023-10-26 - # support: - # chrome: "20" - # chrome_android: "25" - # edge: "12" - # firefox: "57" - # firefox_android: "57" - # safari: "14.1" - # safari_ios: "5" - - html.elements.input.type_date - - html.elements.input.type_time - - # baseline: high - # baseline_low_date: 2021-10-05 - # baseline_high_date: 2024-04-05 - # support: - # chrome: "20" - # chrome_android: "25" - # edge: "12" - # firefox: "93" - # firefox_android: "93" - # safari: "14.1" - # safari_ios: "5" - - html.elements.input.type_datetime-local - # baseline: low # baseline_low_date: 2023-05-05 # support: @@ -425,16 +355,6 @@ compat_features: # safari_ios: "16.4" - api.HTMLInputElement.cancel_event - # baseline: false - # support: - # chrome: "20" - # chrome_android: "25" - # edge: "14" - # firefox: "29" - # safari: "12.1" - # safari_ios: "12.2" - - html.elements.input.type_color - # baseline: false # support: # chrome: "5" @@ -445,14 +365,6 @@ compat_features: - api.HTMLInputElement.stepDown - api.HTMLInputElement.stepUp - # baseline: false - # support: - # chrome: "20" - # chrome_android: "25" - # edge: "12" - # firefox_android: "18" - - html.elements.input.type_week - # baseline: false # support: # firefox: "52" diff --git a/features/search-input-type.yml.dist b/features/search-input-type.yml.dist deleted file mode 100644 index 2c70372b8db..00000000000 --- a/features/search-input-type.yml.dist +++ /dev/null @@ -1,17 +0,0 @@ -# Generated from: search-input-type.yml -# Do not edit this file by hand. Edit the source file instead! - -status: - baseline: high - baseline_low_date: 2015-07-29 - baseline_high_date: 2018-01-29 - support: - chrome: "5" - chrome_android: "18" - edge: "12" - firefox: "4" - firefox_android: "4" - safari: "5" - safari_ios: "4.2" -compat_features: - - html.elements.input.type_search From c8da66ea898c50bd45430ac0a4d28d0fd05bcb40 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Wed, 23 Oct 2024 13:52:44 +0700 Subject: [PATCH 05/23] desc updates --- features/input-date-time.yml | 2 +- features/input-email-tel-url.yml | 2 +- features/input-event.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/features/input-date-time.yml b/features/input-date-time.yml index 91fec251da4..54fdf34e2aa 100644 --- a/features/input-date-time.yml +++ b/features/input-date-time.yml @@ -1,4 +1,4 @@ -name: date, datetime-local, time, and week +name: with types date, datetime-local, time, and week description: The `` element allows the user to input date and time information to a form. spec: https://html.spec.whatwg.org/multipage/input.html#date-state-(type=date) group: diff --git a/features/input-email-tel-url.yml b/features/input-email-tel-url.yml index e5bf926a046..0dcb5103621 100644 --- a/features/input-email-tel-url.yml +++ b/features/input-email-tel-url.yml @@ -1,4 +1,4 @@ -name: email, tel, and url +name: with types email, tel, and url description: The `` element allows the user to input information to a form intended for email addresses, telephone numbers or URLs. Particularly useful in combination with form validation. spec: - https://html.spec.whatwg.org/multipage/input.html#email-state-(type=email) diff --git a/features/input-event.yml b/features/input-event.yml index fe8a70ebc4c..cb75893412e 100644 --- a/features/input-event.yml +++ b/features/input-event.yml @@ -1,4 +1,4 @@ -name: input (event) +name: Input event description: The `input` event fires when a form control changes or an element with the `contenteditable` attribute changes. spec: https://w3c.github.io/uievents/#event-type-input caniuse: input-event From 046eba289c33e6eb5ff52bd7c9408cef4169801f Mon Sep 17 00:00:00 2001 From: Dietrich Ayala <50103+autonome@users.noreply.github.com> Date: Tue, 12 Nov 2024 14:21:53 +0700 Subject: [PATCH 06/23] Update features/input-color.yml Co-authored-by: Daniel D. Beck --- features/input-color.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/input-color.yml b/features/input-color.yml index b29f291920e..5413a42acf9 100644 --- a/features/input-color.yml +++ b/features/input-color.yml @@ -1,5 +1,5 @@ name: '' -description: The `` HTML element with the `type="color"` attribute represents a color picker, which might be styled differently by the browser. +description: The `` HTML element represents a color picker. spec: https://html.spec.whatwg.org/multipage/input.html#color-state-(type=color) group: - forms From 74243e80ffa51fa57e351ff09656f98f657ffa7d Mon Sep 17 00:00:00 2001 From: Dietrich Ayala <50103+autonome@users.noreply.github.com> Date: Tue, 12 Nov 2024 14:22:05 +0700 Subject: [PATCH 07/23] Update features/input-date-time.yml Co-authored-by: Daniel D. Beck --- features/input-date-time.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/input-date-time.yml b/features/input-date-time.yml index 54fdf34e2aa..8693f02f595 100644 --- a/features/input-date-time.yml +++ b/features/input-date-time.yml @@ -1,4 +1,4 @@ -name: with types date, datetime-local, time, and week +name: Date and time types description: The `` element allows the user to input date and time information to a form. spec: https://html.spec.whatwg.org/multipage/input.html#date-state-(type=date) group: From 3bfb13a7e8bfcf35b59f4245b035be034963c9c7 Mon Sep 17 00:00:00 2001 From: Dietrich Ayala <50103+autonome@users.noreply.github.com> Date: Tue, 12 Nov 2024 14:22:18 +0700 Subject: [PATCH 08/23] Update features/input-date-time.yml Co-authored-by: Daniel D. Beck --- features/input-date-time.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/input-date-time.yml b/features/input-date-time.yml index 8693f02f595..e6dce9ebb9b 100644 --- a/features/input-date-time.yml +++ b/features/input-date-time.yml @@ -1,5 +1,5 @@ name: Date and time types -description: The `` element allows the user to input date and time information to a form. +description: The `` and `` HTML elements represent date and time pickers in a form. spec: https://html.spec.whatwg.org/multipage/input.html#date-state-(type=date) group: - forms From 503ec78831f56eeaada3742354f61deb21479dab Mon Sep 17 00:00:00 2001 From: Dietrich Ayala <50103+autonome@users.noreply.github.com> Date: Tue, 12 Nov 2024 14:22:45 +0700 Subject: [PATCH 09/23] Update features/input-email-tel-url.yml Co-authored-by: Daniel D. Beck --- features/input-email-tel-url.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/input-email-tel-url.yml b/features/input-email-tel-url.yml index 0dcb5103621..7e72dbb1462 100644 --- a/features/input-email-tel-url.yml +++ b/features/input-email-tel-url.yml @@ -1,4 +1,4 @@ -name: with types email, tel, and url +name: Email, telephone, and URL types description: The `` element allows the user to input information to a form intended for email addresses, telephone numbers or URLs. Particularly useful in combination with form validation. spec: - https://html.spec.whatwg.org/multipage/input.html#email-state-(type=email) From 2d97b511140d73d43322b84ebd256bf7a326e8a8 Mon Sep 17 00:00:00 2001 From: Dietrich Ayala <50103+autonome@users.noreply.github.com> Date: Tue, 12 Nov 2024 14:23:06 +0700 Subject: [PATCH 10/23] Update features/input.yml Co-authored-by: Daniel D. Beck --- features/input.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/input.yml b/features/input.yml index 42b6a927ab0..9af51c49c75 100644 --- a/features/input.yml +++ b/features/input.yml @@ -1,5 +1,5 @@ name: -description: The `` element allows the user to input information to a form; a number of types of input data and control widgets are available, depending on the device and browser. +description: The `` HTML element allows the user to input information into a form. By default, an `` element is a text input. spec: https://html.spec.whatwg.org/multipage/input.html#the-input-element group: - forms From 6ca52aff2ef2d50dacee2f90e4052e821da60c3f Mon Sep 17 00:00:00 2001 From: Dietrich Ayala <50103+autonome@users.noreply.github.com> Date: Tue, 12 Nov 2024 17:32:25 +0700 Subject: [PATCH 11/23] Update features/input-email-tel-url.yml Co-authored-by: Daniel D. Beck --- features/input-email-tel-url.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/input-email-tel-url.yml b/features/input-email-tel-url.yml index 7e72dbb1462..51486567744 100644 --- a/features/input-email-tel-url.yml +++ b/features/input-email-tel-url.yml @@ -1,5 +1,5 @@ name: Email, telephone, and URL types -description: The `` element allows the user to input information to a form intended for email addresses, telephone numbers or URLs. Particularly useful in combination with form validation. +description: The ``, ``, and `` HTML elements represent email address, telephone number, and URL fields in a form. spec: - https://html.spec.whatwg.org/multipage/input.html#email-state-(type=email) - https://html.spec.whatwg.org/multipage/input.html#telephone-state-(type=tel) From 80b672ebdf38796a8d825f9e835432bfb2b2ce3f Mon Sep 17 00:00:00 2001 From: Dietrich Ayala <50103+autonome@users.noreply.github.com> Date: Tue, 12 Nov 2024 17:34:42 +0700 Subject: [PATCH 12/23] Update features/input-event.yml Co-authored-by: Daniel D. Beck --- features/input-event.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/input-event.yml b/features/input-event.yml index cb75893412e..fe8a70ebc4c 100644 --- a/features/input-event.yml +++ b/features/input-event.yml @@ -1,4 +1,4 @@ -name: Input event +name: input (event) description: The `input` event fires when a form control changes or an element with the `contenteditable` attribute changes. spec: https://w3c.github.io/uievents/#event-type-input caniuse: input-event From 7de8fba47b70f008b32e867d855750e0ea1edf51 Mon Sep 17 00:00:00 2001 From: Dietrich Ayala <50103+autonome@users.noreply.github.com> Date: Tue, 12 Nov 2024 17:35:30 +0700 Subject: [PATCH 13/23] Update features/input-number.yml Co-authored-by: Daniel D. Beck --- features/input-number.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/input-number.yml b/features/input-number.yml index 352557eee55..ac88f41b68f 100644 --- a/features/input-number.yml +++ b/features/input-number.yml @@ -1,5 +1,5 @@ name: '' -description: The `` element allows the user to input numeric information to a form. +description: The `` HTML element allows the user to input numeric information to a form. spec: https://html.spec.whatwg.org/multipage/input.html#number-state-(type=number) group: - forms From 93e13fbe4f4357725f771cfc9cc26e0165fcb580 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Tue, 12 Nov 2024 21:31:32 +0700 Subject: [PATCH 14/23] uncomment non-real keys here --- features/input-date-time.yml | 3 +-- features/input-date-time.yml.dist | 9 +++++++++ features/input-range.yml | 3 +-- features/input.yml | 3 +-- features/input.yml.dist | 1 + 5 files changed, 13 insertions(+), 6 deletions(-) diff --git a/features/input-date-time.yml b/features/input-date-time.yml index e6dce9ebb9b..ff6378abcf2 100644 --- a/features/input-date-time.yml +++ b/features/input-date-time.yml @@ -10,7 +10,6 @@ caniuse: input-datetime compat_features: - html.elements.input.type_date - html.elements.input.type_datetime-local - # Excluded because of a non-real value - # - html.elements.input.type_month + - html.elements.input.type_month - html.elements.input.type_time - html.elements.input.type_week diff --git a/features/input-date-time.yml.dist b/features/input-date-time.yml.dist index 9edfd366836..c9d5916d1d0 100644 --- a/features/input-date-time.yml.dist +++ b/features/input-date-time.yml.dist @@ -42,6 +42,15 @@ compat_features: # safari_ios: "5" - html.elements.input.type_datetime-local + # baseline: false + # support: + # chrome: "20" + # chrome_android: "25" + # edge: "12" + # firefox_android: "18" + # safari_ios: ≤11.3 + - html.elements.input.type_month + # baseline: false # support: # chrome: "20" diff --git a/features/input-range.yml b/features/input-range.yml index 80d997cc720..5dfecb0fab8 100644 --- a/features/input-range.yml +++ b/features/input-range.yml @@ -12,5 +12,4 @@ compat_features: # - html.elements.input.step - html.elements.input.type_range - html.elements.input.type_range.vertical_orientation - # Excluded because of a non-real value - # - html.elements.input.type_range.tick_marks + - html.elements.input.type_range.tick_marks diff --git a/features/input.yml b/features/input.yml index 9af51c49c75..b1582e0ebc8 100644 --- a/features/input.yml +++ b/features/input.yml @@ -75,8 +75,7 @@ compat_features: - html.elements.input.placeholder - html.elements.input.readonly - html.elements.input.required - # Excluded because of a non-real value - # - html.elements.input.size + - html.elements.input.size - html.elements.input.src - html.elements.input.type_button - html.elements.input.type_checkbox diff --git a/features/input.yml.dist b/features/input.yml.dist index 5228fa454ef..0fd3b494e14 100644 --- a/features/input.yml.dist +++ b/features/input.yml.dist @@ -51,6 +51,7 @@ compat_features: - html.elements.input.maxlength - html.elements.input.name - html.elements.input.readonly + - html.elements.input.size - html.elements.input.src - html.elements.input.type_button - html.elements.input.type_checkbox From 0cb518bcde201210e64f55587aa149e2613b2ab7 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Tue, 12 Nov 2024 21:50:48 +0700 Subject: [PATCH 15/23] regen --- features/input-range.yml.dist | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/features/input-range.yml.dist b/features/input-range.yml.dist index 315f67a839f..6a7c779051f 100644 --- a/features/input-range.yml.dist +++ b/features/input-range.yml.dist @@ -7,7 +7,7 @@ status: support: chrome: "124" chrome_android: "124" - edge: "12" + edge: ≤79 firefox: "120" firefox_android: "120" safari: "16.5" @@ -26,7 +26,18 @@ compat_features: # safari_ios: "5" - html.elements.input.type_range - # ⬇️ Same status as overall feature ⬇️ + # baseline: low + # baseline_low_date: 2023-01-17 + # support: + # chrome: ≤67 + # chrome_android: "67" + # edge: ≤79 + # firefox: "109" + # firefox_android: "109" + # safari: "12.1" + # safari_ios: "12.2" + - html.elements.input.type_range.tick_marks + # baseline: low # baseline_low_date: 2024-04-16 # support: From 27e0644d970f1b908e03c5281a46c3d7b6f535b3 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Wed, 13 Nov 2024 15:57:19 +0700 Subject: [PATCH 16/23] move more input types to features --- features/input-button.yml | 8 ++++++++ features/input-checkbox.yml | 8 ++++++++ features/input-file.yml | 8 ++++++++ features/input-hidden.yml | 8 ++++++++ features/input-image.yml | 8 ++++++++ features/input-password.yml | 9 +++++++++ features/input-radio.yml | 8 ++++++++ features/input-reset.yml | 8 ++++++++ features/input-submit.yml | 8 ++++++++ features/input.yml | 10 ---------- 10 files changed, 73 insertions(+), 10 deletions(-) create mode 100644 features/input-button.yml create mode 100644 features/input-checkbox.yml create mode 100644 features/input-file.yml create mode 100644 features/input-hidden.yml create mode 100644 features/input-image.yml create mode 100644 features/input-password.yml create mode 100644 features/input-radio.yml create mode 100644 features/input-reset.yml create mode 100644 features/input-submit.yml diff --git a/features/input-button.yml b/features/input-button.yml new file mode 100644 index 00000000000..268d8b2f2bc --- /dev/null +++ b/features/input-button.yml @@ -0,0 +1,8 @@ +name: '' +description: The `` HTML element represents a button with programmable behavior, and which is inert by default. +spec: https://html.spec.whatwg.org/multipage/input.html#button-state-(type=button) +group: + - forms + - html-elements +compat_features: + - html.elements.input.type_button diff --git a/features/input-checkbox.yml b/features/input-checkbox.yml new file mode 100644 index 00000000000..d0b7019ebb7 --- /dev/null +++ b/features/input-checkbox.yml @@ -0,0 +1,8 @@ +name: '' +description: The `` HTML element represents a checkable box. +spec: https://html.spec.whatwg.org/multipage/input.html#checkbox-state-(type=checkbox) +group: + - forms + - html-elements +compat_features: + - html.elements.input.type_checkbox diff --git a/features/input-file.yml b/features/input-file.yml new file mode 100644 index 00000000000..cfa15939620 --- /dev/null +++ b/features/input-file.yml @@ -0,0 +1,8 @@ +name: '' +description: The `` HTML element represents a field used to upload a file. +spec: https://html.spec.whatwg.org/multipage/input.html#file-upload-state-(type=file) +group: + - forms + - html-elements +compat_features: + - html.elements.input.type_file diff --git a/features/input-hidden.yml b/features/input-hidden.yml new file mode 100644 index 00000000000..77c8c9175d8 --- /dev/null +++ b/features/input-hidden.yml @@ -0,0 +1,8 @@ +name: '' +description: The `` HTML element represents a form field that is not displayed visually on the page. +spec: https://html.spec.whatwg.org/multipage/input.html#hidden-state-(type=hidden) +group: + - forms + - html-elements +compat_features: + - html.elements.input.type_hidden diff --git a/features/input-image.yml b/features/input-image.yml new file mode 100644 index 00000000000..9e9abe8b2e1 --- /dev/null +++ b/features/input-image.yml @@ -0,0 +1,8 @@ +name: '' +description: The `` HTML element represents an image which can be used to submit a form. +spec: https://html.spec.whatwg.org/multipage/input.html#image-button-state-(type=image) +group: + - forms + - html-elements +compat_features: + - html.elements.input.type_image diff --git a/features/input-password.yml b/features/input-password.yml new file mode 100644 index 00000000000..f58533a1a97 --- /dev/null +++ b/features/input-password.yml @@ -0,0 +1,9 @@ +name: '' +description: The `` HTML element represents a field for users to enter passwords in a way where the typed characters are hidden from view - typically replaced by asterisks. +spec: https://html.spec.whatwg.org/multipage/input.html#password-state-(type=password) +group: + - forms + - html-elements +compat_features: + - html.elements.input.type_password + - html.elements.input.type_password.insecure_login_handling diff --git a/features/input-radio.yml b/features/input-radio.yml new file mode 100644 index 00000000000..c0b25c6a10a --- /dev/null +++ b/features/input-radio.yml @@ -0,0 +1,8 @@ +name: '' +description: The `` HTML element represents a button which can be selected as one in a group. +spec: https://html.spec.whatwg.org/multipage/input.html#radio-button-state-(type=radio) +group: + - forms + - html-elements +compat_features: + - html.elements.input.type_radio diff --git a/features/input-reset.yml b/features/input-reset.yml new file mode 100644 index 00000000000..db3ac1b91ed --- /dev/null +++ b/features/input-reset.yml @@ -0,0 +1,8 @@ +name: '' +description: The `` HTML element is rendered as a button, and resets all inputs in the form to their initial values. +spec: https://html.spec.whatwg.org/multipage/input.html#reset-button-state-(type=reset) +group: + - forms + - html-elements +compat_features: + - html.elements.input.type_reset diff --git a/features/input-submit.yml b/features/input-submit.yml new file mode 100644 index 00000000000..e11e55685b6 --- /dev/null +++ b/features/input-submit.yml @@ -0,0 +1,8 @@ +name: '' +description: The `` HTML element submits its associated `
`. +spec: https://html.spec.whatwg.org/multipage/input.html#submit-button-state-(type=submit) +group: + - forms + - html-elements +compat_features: + - html.elements.input.type_submit diff --git a/features/input.yml b/features/input.yml index b1582e0ebc8..aee7f576055 100644 --- a/features/input.yml +++ b/features/input.yml @@ -77,14 +77,4 @@ compat_features: - html.elements.input.required - html.elements.input.size - html.elements.input.src - - html.elements.input.type_button - - html.elements.input.type_checkbox - - html.elements.input.type_file - - html.elements.input.type_hidden - - html.elements.input.type_image - - html.elements.input.type_password - - html.elements.input.type_password.insecure_login_handling - - html.elements.input.type_radio - - html.elements.input.type_reset - - html.elements.input.type_submit - html.elements.input.type_text From 65a18b635711b232e79756e52cc3326a0ec59ecc Mon Sep 17 00:00:00 2001 From: Dietrich Ayala <50103+autonome@users.noreply.github.com> Date: Wed, 13 Nov 2024 15:58:34 +0700 Subject: [PATCH 17/23] Update features/input-range.yml Co-authored-by: Daniel D. Beck --- features/input-range.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/input-range.yml b/features/input-range.yml index 5dfecb0fab8..476009c062e 100644 --- a/features/input-range.yml +++ b/features/input-range.yml @@ -1,5 +1,5 @@ name: '' -description: The `` element allows the user to select a value using a slider widget. +description: The `` element allows the user to choose a value using a slider widget. spec: https://html.spec.whatwg.org/multipage/input.html#range-state-(type=range) group: - forms From 3bafda8f78a6f73110b3ba9380e6c33c9f2be52c Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Wed, 13 Nov 2024 16:01:33 +0700 Subject: [PATCH 18/23] keep search status quo --- features/{input-search.yml => search-input-type.yml} | 0 features/{input-search.yml.dist => search-input-type.yml.dist} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename features/{input-search.yml => search-input-type.yml} (100%) rename features/{input-search.yml.dist => search-input-type.yml.dist} (100%) diff --git a/features/input-search.yml b/features/search-input-type.yml similarity index 100% rename from features/input-search.yml rename to features/search-input-type.yml diff --git a/features/input-search.yml.dist b/features/search-input-type.yml.dist similarity index 100% rename from features/input-search.yml.dist rename to features/search-input-type.yml.dist From 86ee85fe1eec7312874421f8d4aa40340c10cddd Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Wed, 13 Nov 2024 16:02:17 +0700 Subject: [PATCH 19/23] add new dist files --- features/input-button.yml.dist | 17 +++++++++++++++++ features/input-checkbox.yml.dist | 17 +++++++++++++++++ features/input-file.yml.dist | 17 +++++++++++++++++ features/input-hidden.yml.dist | 17 +++++++++++++++++ features/input-image.yml.dist | 17 +++++++++++++++++ features/input-password.yml.dist | 28 ++++++++++++++++++++++++++++ features/input-radio.yml.dist | 17 +++++++++++++++++ features/input-reset.yml.dist | 17 +++++++++++++++++ features/input-submit.yml.dist | 17 +++++++++++++++++ features/input.yml.dist | 15 --------------- features/search-input-type.yml.dist | 17 ++++++++++++++--- 11 files changed, 178 insertions(+), 18 deletions(-) create mode 100644 features/input-button.yml.dist create mode 100644 features/input-checkbox.yml.dist create mode 100644 features/input-file.yml.dist create mode 100644 features/input-hidden.yml.dist create mode 100644 features/input-image.yml.dist create mode 100644 features/input-password.yml.dist create mode 100644 features/input-radio.yml.dist create mode 100644 features/input-reset.yml.dist create mode 100644 features/input-submit.yml.dist diff --git a/features/input-button.yml.dist b/features/input-button.yml.dist new file mode 100644 index 00000000000..2b840c092ee --- /dev/null +++ b/features/input-button.yml.dist @@ -0,0 +1,17 @@ +# Generated from: input-button.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 + support: + chrome: "1" + chrome_android: "18" + edge: "12" + firefox: "1" + firefox_android: "4" + safari: "1" + safari_ios: "1" +compat_features: + - html.elements.input.type_button diff --git a/features/input-checkbox.yml.dist b/features/input-checkbox.yml.dist new file mode 100644 index 00000000000..223f695b718 --- /dev/null +++ b/features/input-checkbox.yml.dist @@ -0,0 +1,17 @@ +# Generated from: input-checkbox.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 + support: + chrome: "1" + chrome_android: "18" + edge: "12" + firefox: "1" + firefox_android: "4" + safari: "1" + safari_ios: "1" +compat_features: + - html.elements.input.type_checkbox diff --git a/features/input-file.yml.dist b/features/input-file.yml.dist new file mode 100644 index 00000000000..917e8a05f1d --- /dev/null +++ b/features/input-file.yml.dist @@ -0,0 +1,17 @@ +# Generated from: input-file.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 + support: + chrome: "1" + chrome_android: "18" + edge: "12" + firefox: "1" + firefox_android: "4" + safari: "1" + safari_ios: "1" +compat_features: + - html.elements.input.type_file diff --git a/features/input-hidden.yml.dist b/features/input-hidden.yml.dist new file mode 100644 index 00000000000..bf4767ddac8 --- /dev/null +++ b/features/input-hidden.yml.dist @@ -0,0 +1,17 @@ +# Generated from: input-hidden.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 + support: + chrome: "1" + chrome_android: "18" + edge: "12" + firefox: "1" + firefox_android: "4" + safari: "1" + safari_ios: "1" +compat_features: + - html.elements.input.type_hidden diff --git a/features/input-image.yml.dist b/features/input-image.yml.dist new file mode 100644 index 00000000000..88afd68d5ce --- /dev/null +++ b/features/input-image.yml.dist @@ -0,0 +1,17 @@ +# Generated from: input-image.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 + support: + chrome: "1" + chrome_android: "18" + edge: "12" + firefox: "1" + firefox_android: "4" + safari: "1" + safari_ios: "1" +compat_features: + - html.elements.input.type_image diff --git a/features/input-password.yml.dist b/features/input-password.yml.dist new file mode 100644 index 00000000000..220eb42970a --- /dev/null +++ b/features/input-password.yml.dist @@ -0,0 +1,28 @@ +# Generated from: input-password.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + firefox: "52" + firefox_android: "52" +compat_features: + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "1" + # safari_ios: "1" + - html.elements.input.type_password + + # ⬇️ Same status as overall feature ⬇️ + # baseline: false + # support: + # firefox: "52" + # firefox_android: "52" + - html.elements.input.type_password.insecure_login_handling diff --git a/features/input-radio.yml.dist b/features/input-radio.yml.dist new file mode 100644 index 00000000000..b3a580f5dc8 --- /dev/null +++ b/features/input-radio.yml.dist @@ -0,0 +1,17 @@ +# Generated from: input-radio.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 + support: + chrome: "1" + chrome_android: "18" + edge: "12" + firefox: "1" + firefox_android: "4" + safari: "1" + safari_ios: "1" +compat_features: + - html.elements.input.type_radio diff --git a/features/input-reset.yml.dist b/features/input-reset.yml.dist new file mode 100644 index 00000000000..c1197e74274 --- /dev/null +++ b/features/input-reset.yml.dist @@ -0,0 +1,17 @@ +# Generated from: input-reset.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 + support: + chrome: "1" + chrome_android: "18" + edge: "12" + firefox: "1" + firefox_android: "4" + safari: "1" + safari_ios: "1" +compat_features: + - html.elements.input.type_reset diff --git a/features/input-submit.yml.dist b/features/input-submit.yml.dist new file mode 100644 index 00000000000..e260b39cd62 --- /dev/null +++ b/features/input-submit.yml.dist @@ -0,0 +1,17 @@ +# Generated from: input-submit.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 + support: + chrome: "1" + chrome_android: "18" + edge: "12" + firefox: "1" + firefox_android: "4" + safari: "1" + safari_ios: "1" +compat_features: + - html.elements.input.type_submit diff --git a/features/input.yml.dist b/features/input.yml.dist index 0fd3b494e14..420c37f5e9b 100644 --- a/features/input.yml.dist +++ b/features/input.yml.dist @@ -53,15 +53,6 @@ compat_features: - html.elements.input.readonly - html.elements.input.size - html.elements.input.src - - html.elements.input.type_button - - html.elements.input.type_checkbox - - html.elements.input.type_file - - html.elements.input.type_hidden - - html.elements.input.type_image - - html.elements.input.type_password - - html.elements.input.type_radio - - html.elements.input.type_reset - - html.elements.input.type_submit - html.elements.input.type_text # baseline: high @@ -365,9 +356,3 @@ compat_features: # safari_ios: "4" - api.HTMLInputElement.stepDown - api.HTMLInputElement.stepUp - - # baseline: false - # support: - # firefox: "52" - # firefox_android: "52" - - html.elements.input.type_password.insecure_login_handling diff --git a/features/search-input-type.yml.dist b/features/search-input-type.yml.dist index e9c5620f286..2c70372b8db 100644 --- a/features/search-input-type.yml.dist +++ b/features/search-input-type.yml.dist @@ -1,6 +1,17 @@ -# Generated from: input-search.yml +# Generated from: search-input-type.yml # Do not edit this file by hand. Edit the source file instead! status: - baseline: false - support: {} + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 + support: + chrome: "5" + chrome_android: "18" + edge: "12" + firefox: "4" + firefox_android: "4" + safari: "5" + safari_ios: "4.2" +compat_features: + - html.elements.input.type_search From a2e9f68b34de998884e1ce80a9ccac9b8a425471 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Thu, 14 Nov 2024 10:29:31 +0700 Subject: [PATCH 20/23] more num keys --- features/input-number.yml | 5 +++++ features/input-number.yml.dist | 20 ++++++++++++++------ features/input.yml | 5 ----- features/input.yml.dist | 25 ------------------------- 4 files changed, 19 insertions(+), 36 deletions(-) diff --git a/features/input-number.yml b/features/input-number.yml index ac88f41b68f..bfa242fc799 100644 --- a/features/input-number.yml +++ b/features/input-number.yml @@ -6,6 +6,11 @@ group: - html-elements caniuse: input-number compat_features: + - api.HTMLInputElement.max + - api.HTMLInputElement.min + - api.HTMLInputElement.step + - api.HTMLInputElement.stepDown + - api.HTMLInputElement.stepUp - html.elements.input.max - html.elements.input.min - html.elements.input.step diff --git a/features/input-number.yml.dist b/features/input-number.yml.dist index e8630d2ba7c..dab7be39ce8 100644 --- a/features/input-number.yml.dist +++ b/features/input-number.yml.dist @@ -2,15 +2,11 @@ # Do not edit this file by hand. Edit the source file instead! status: - baseline: high - baseline_low_date: 2015-07-29 - baseline_high_date: 2018-01-29 + baseline: false support: chrome: "7" chrome_android: "18" edge: "12" - firefox: "29" - firefox_android: "29" safari: "5.1" safari_ios: "5" compat_features: @@ -25,6 +21,8 @@ compat_features: # firefox_android: "16" # safari: "5" # safari_ios: "4" + - api.HTMLInputElement.max + - api.HTMLInputElement.min - html.elements.input.max - html.elements.input.min @@ -39,9 +37,9 @@ compat_features: # firefox_android: "16" # safari: "5" # safari_ios: "4" + - api.HTMLInputElement.step - html.elements.input.step - # ⬇️ Same status as overall feature ⬇️ # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 @@ -54,3 +52,13 @@ compat_features: # safari: "5.1" # safari_ios: "5" - html.elements.input.type_number + + # baseline: false + # support: + # chrome: "5" + # chrome_android: "18" + # edge: "12" + # safari: "5" + # safari_ios: "4" + - api.HTMLInputElement.stepDown + - api.HTMLInputElement.stepUp diff --git a/features/input.yml b/features/input.yml index aee7f576055..3784a54f72d 100644 --- a/features/input.yml +++ b/features/input.yml @@ -28,9 +28,7 @@ compat_features: - api.HTMLInputElement.invalid_event - api.HTMLInputElement.labels - api.HTMLInputElement.list - - api.HTMLInputElement.max - api.HTMLInputElement.maxLength - - api.HTMLInputElement.min - api.HTMLInputElement.minLength - api.HTMLInputElement.multiple - api.HTMLInputElement.name @@ -47,9 +45,6 @@ compat_features: - api.HTMLInputElement.setSelectionRange - api.HTMLInputElement.size - api.HTMLInputElement.src - - api.HTMLInputElement.step - - api.HTMLInputElement.stepDown - - api.HTMLInputElement.stepUp - api.HTMLInputElement.type - api.HTMLInputElement.value - api.HTMLInputElement.valueAsDate diff --git a/features/input.yml.dist b/features/input.yml.dist index 420c37f5e9b..a53d8e455e4 100644 --- a/features/input.yml.dist +++ b/features/input.yml.dist @@ -167,20 +167,6 @@ compat_features: - html.elements.input.pattern - html.elements.input.required - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "4" - # chrome_android: "18" - # edge: "12" - # firefox: "16" - # firefox_android: "16" - # safari: "5" - # safari_ios: "4" - - api.HTMLInputElement.max - - api.HTMLInputElement.min - # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 @@ -192,7 +178,6 @@ compat_features: # firefox_android: "16" # safari: "5" # safari_ios: "4" - - api.HTMLInputElement.step - api.HTMLInputElement.valueAsNumber # baseline: high @@ -346,13 +331,3 @@ compat_features: # safari: "16.4" # safari_ios: "16.4" - api.HTMLInputElement.cancel_event - - # baseline: false - # support: - # chrome: "5" - # chrome_android: "18" - # edge: "12" - # safari: "5" - # safari_ios: "4" - - api.HTMLInputElement.stepDown - - api.HTMLInputElement.stepUp From da7a18e476fef209ea87be24bfbdd1d9c36cd3ee Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Thu, 14 Nov 2024 10:40:29 +0700 Subject: [PATCH 21/23] move more keys out of input --- features/input-checkbox.yml | 2 ++ features/input-checkbox.yml.dist | 30 +++++++++++++++-- features/input-date-time.yml | 1 + features/input-date-time.yml.dist | 13 ++++++++ features/input-file.yml | 1 + features/input-file.yml.dist | 33 ++++++++++++++++--- features/input-image.yml | 1 + features/input-image.yml.dist | 1 + features/input-number.yml | 1 + features/input-number.yml.dist | 1 + features/input-range.yml | 4 --- features/input.yml | 6 ---- features/input.yml.dist | 54 ------------------------------- 13 files changed, 78 insertions(+), 70 deletions(-) diff --git a/features/input-checkbox.yml b/features/input-checkbox.yml index d0b7019ebb7..aff736f367a 100644 --- a/features/input-checkbox.yml +++ b/features/input-checkbox.yml @@ -5,4 +5,6 @@ group: - forms - html-elements compat_features: + - api.HTMLInputElement.defaultChecked + - api.HTMLInputElement.indeterminate - html.elements.input.type_checkbox diff --git a/features/input-checkbox.yml.dist b/features/input-checkbox.yml.dist index 223f695b718..b8f194ba95a 100644 --- a/features/input-checkbox.yml.dist +++ b/features/input-checkbox.yml.dist @@ -9,9 +9,35 @@ status: chrome: "1" chrome_android: "18" edge: "12" - firefox: "1" + firefox: "3.6" firefox_android: "4" - safari: "1" + safari: "3" safari_ios: "1" compat_features: + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "1" + # safari_ios: "1" + - api.HTMLInputElement.defaultChecked - html.elements.input.type_checkbox + + # ⬇️ Same status as overall feature ⬇️ + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "3.6" + # firefox_android: "4" + # safari: "3" + # safari_ios: "1" + - api.HTMLInputElement.indeterminate diff --git a/features/input-date-time.yml b/features/input-date-time.yml index ff6378abcf2..65815df28ae 100644 --- a/features/input-date-time.yml +++ b/features/input-date-time.yml @@ -8,6 +8,7 @@ status: compute_from: html.elements.input.type_date caniuse: input-datetime compat_features: + - api.HTMLInputElement.valueAsDate - html.elements.input.type_date - html.elements.input.type_datetime-local - html.elements.input.type_month diff --git a/features/input-date-time.yml.dist b/features/input-date-time.yml.dist index c9d5916d1d0..2526cb4f032 100644 --- a/features/input-date-time.yml.dist +++ b/features/input-date-time.yml.dist @@ -14,6 +14,19 @@ status: safari: "14.1" safari_ios: "5" compat_features: + # baseline: high + # baseline_low_date: 2017-11-28 + # baseline_high_date: 2020-05-28 + # support: + # chrome: "5" + # chrome_android: "18" + # edge: "12" + # firefox: "57" + # firefox_android: "57" + # safari: "5" + # safari_ios: "4" + - api.HTMLInputElement.valueAsDate + # ⬇️ Same status as overall feature ⬇️ # baseline: high # baseline_low_date: 2021-04-26 diff --git a/features/input-file.yml b/features/input-file.yml index cfa15939620..1e5b7ce7c13 100644 --- a/features/input-file.yml +++ b/features/input-file.yml @@ -5,4 +5,5 @@ group: - forms - html-elements compat_features: + - api.HTMLInputElement.files - html.elements.input.type_file diff --git a/features/input-file.yml.dist b/features/input-file.yml.dist index 917e8a05f1d..c0d2be82012 100644 --- a/features/input-file.yml.dist +++ b/features/input-file.yml.dist @@ -6,12 +6,37 @@ status: baseline_low_date: 2015-07-29 baseline_high_date: 2018-01-29 support: - chrome: "1" + chrome: "2" chrome_android: "18" edge: "12" - firefox: "1" + firefox: "3" firefox_android: "4" - safari: "1" - safari_ios: "1" + safari: "4" + safari_ios: "3" compat_features: + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "1" + # chrome_android: "18" + # edge: "12" + # firefox: "1" + # firefox_android: "4" + # safari: "1" + # safari_ios: "1" - html.elements.input.type_file + + # ⬇️ Same status as overall feature ⬇️ + # baseline: high + # baseline_low_date: 2015-07-29 + # baseline_high_date: 2018-01-29 + # support: + # chrome: "2" + # chrome_android: "18" + # edge: "12" + # firefox: "3" + # firefox_android: "4" + # safari: "4" + # safari_ios: "3" + - api.HTMLInputElement.files diff --git a/features/input-image.yml b/features/input-image.yml index 9e9abe8b2e1..17fe0c12b1d 100644 --- a/features/input-image.yml +++ b/features/input-image.yml @@ -5,4 +5,5 @@ group: - forms - html-elements compat_features: + - api.HTMLInputElement.src - html.elements.input.type_image diff --git a/features/input-image.yml.dist b/features/input-image.yml.dist index 88afd68d5ce..af58d32ed10 100644 --- a/features/input-image.yml.dist +++ b/features/input-image.yml.dist @@ -14,4 +14,5 @@ status: safari: "1" safari_ios: "1" compat_features: + - api.HTMLInputElement.src - html.elements.input.type_image diff --git a/features/input-number.yml b/features/input-number.yml index bfa242fc799..b8086a84040 100644 --- a/features/input-number.yml +++ b/features/input-number.yml @@ -6,6 +6,7 @@ group: - html-elements caniuse: input-number compat_features: + - api.HTMLInputElement.valueAsNumber - api.HTMLInputElement.max - api.HTMLInputElement.min - api.HTMLInputElement.step diff --git a/features/input-number.yml.dist b/features/input-number.yml.dist index dab7be39ce8..a8fa5ede5d1 100644 --- a/features/input-number.yml.dist +++ b/features/input-number.yml.dist @@ -38,6 +38,7 @@ compat_features: # safari: "5" # safari_ios: "4" - api.HTMLInputElement.step + - api.HTMLInputElement.valueAsNumber - html.elements.input.step # baseline: high diff --git a/features/input-range.yml b/features/input-range.yml index 476009c062e..fe8afb3156d 100644 --- a/features/input-range.yml +++ b/features/input-range.yml @@ -6,10 +6,6 @@ group: - html-elements caniuse: input-range compat_features: - # Included in input-number.yml - # - html.elements.input.max - # - html.elements.input.min - # - html.elements.input.step - html.elements.input.type_range - html.elements.input.type_range.vertical_orientation - html.elements.input.type_range.tick_marks diff --git a/features/input.yml b/features/input.yml index 3784a54f72d..3ec8b5345b7 100644 --- a/features/input.yml +++ b/features/input.yml @@ -13,10 +13,8 @@ compat_features: - api.HTMLInputElement.autocomplete - api.HTMLInputElement.cancel_event - api.HTMLInputElement.checked - - api.HTMLInputElement.defaultChecked - api.HTMLInputElement.defaultValue - api.HTMLInputElement.disabled - - api.HTMLInputElement.files - api.HTMLInputElement.form - api.HTMLInputElement.formAction - api.HTMLInputElement.formEnctype @@ -24,7 +22,6 @@ compat_features: - api.HTMLInputElement.formNoValidate - api.HTMLInputElement.formTarget - api.HTMLInputElement.height - - api.HTMLInputElement.indeterminate - api.HTMLInputElement.invalid_event - api.HTMLInputElement.labels - api.HTMLInputElement.list @@ -44,11 +41,8 @@ compat_features: - api.HTMLInputElement.setRangeText - api.HTMLInputElement.setSelectionRange - api.HTMLInputElement.size - - api.HTMLInputElement.src - api.HTMLInputElement.type - api.HTMLInputElement.value - - api.HTMLInputElement.valueAsDate - - api.HTMLInputElement.valueAsNumber - api.HTMLInputElement.width - html.elements.input - html.elements.input.accept diff --git a/features/input.yml.dist b/features/input.yml.dist index a53d8e455e4..0a5c76e0dc6 100644 --- a/features/input.yml.dist +++ b/features/input.yml.dist @@ -30,7 +30,6 @@ compat_features: - api.HTMLInputElement.accept - api.HTMLInputElement.alt - api.HTMLInputElement.checked - - api.HTMLInputElement.defaultChecked - api.HTMLInputElement.defaultValue - api.HTMLInputElement.disabled - api.HTMLInputElement.form @@ -39,7 +38,6 @@ compat_features: - api.HTMLInputElement.readOnly - api.HTMLInputElement.select - api.HTMLInputElement.size - - api.HTMLInputElement.src - api.HTMLInputElement.type - api.HTMLInputElement.value - html.elements.input @@ -82,19 +80,6 @@ compat_features: # safari_ios: "1" - api.HTMLInputElement.setSelectionRange - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "1" - # chrome_android: "18" - # edge: "12" - # firefox: "3.6" - # firefox_android: "4" - # safari: "3" - # safari_ios: "1" - - api.HTMLInputElement.indeterminate - # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 @@ -108,19 +93,6 @@ compat_features: # safari_ios: "1" - api.HTMLInputElement.select_event - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "2" - # chrome_android: "18" - # edge: "12" - # firefox: "3" - # firefox_android: "4" - # safari: "4" - # safari_ios: "3" - - api.HTMLInputElement.files - # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 @@ -167,19 +139,6 @@ compat_features: - html.elements.input.pattern - html.elements.input.required - # baseline: high - # baseline_low_date: 2015-07-29 - # baseline_high_date: 2018-01-29 - # support: - # chrome: "5" - # chrome_android: "18" - # edge: "12" - # firefox: "16" - # firefox_android: "16" - # safari: "5" - # safari_ios: "4" - - api.HTMLInputElement.valueAsNumber - # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 @@ -240,19 +199,6 @@ compat_features: # safari_ios: "6" - api.HTMLInputElement.selectionDirection - # baseline: high - # baseline_low_date: 2017-11-28 - # baseline_high_date: 2020-05-28 - # support: - # chrome: "5" - # chrome_android: "18" - # edge: "12" - # firefox: "57" - # firefox_android: "57" - # safari: "5" - # safari_ios: "4" - - api.HTMLInputElement.valueAsDate - # baseline: high # baseline_low_date: 2018-04-30 # baseline_high_date: 2020-10-30 From 3dc567dcfeb8e6e0ad974e7f17f6d6549a91d016 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Thu, 14 Nov 2024 12:49:07 +0700 Subject: [PATCH 22/23] compute baseline for type=number --- features/input-number.yml | 2 ++ features/input-number.yml.dist | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/features/input-number.yml b/features/input-number.yml index b8086a84040..def824367e0 100644 --- a/features/input-number.yml +++ b/features/input-number.yml @@ -5,6 +5,8 @@ group: - forms - html-elements caniuse: input-number +status: + compute_from: html.elements.input.type_number compat_features: - api.HTMLInputElement.valueAsNumber - api.HTMLInputElement.max diff --git a/features/input-number.yml.dist b/features/input-number.yml.dist index a8fa5ede5d1..165850e03ff 100644 --- a/features/input-number.yml.dist +++ b/features/input-number.yml.dist @@ -2,11 +2,15 @@ # Do not edit this file by hand. Edit the source file instead! status: - baseline: false + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 support: chrome: "7" chrome_android: "18" edge: "12" + firefox: "29" + firefox_android: "29" safari: "5.1" safari_ios: "5" compat_features: @@ -41,6 +45,7 @@ compat_features: - api.HTMLInputElement.valueAsNumber - html.elements.input.step + # ⬇️ Same status as overall feature ⬇️ # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 From 227dbe9438c95c1c5c3cd84e476f99dbcf4bfae7 Mon Sep 17 00:00:00 2001 From: dietrich ayala Date: Thu, 14 Nov 2024 14:47:06 +0700 Subject: [PATCH 23/23] desc and baseline tweaks --- features/input-color.yml | 2 +- features/input-number.yml | 2 +- features/input-password.yml | 4 +++- features/input-password.yml.dist | 15 +++++++++++---- features/input-radio.yml | 2 +- features/input-range.yml | 2 ++ features/input-range.yml.dist | 20 +++++++++++--------- 7 files changed, 30 insertions(+), 17 deletions(-) diff --git a/features/input-color.yml b/features/input-color.yml index 5413a42acf9..4c6e3146aee 100644 --- a/features/input-color.yml +++ b/features/input-color.yml @@ -1,5 +1,5 @@ name: '' -description: The `` HTML element represents a color picker. +description: The `` HTML element displays a color picker, from which users can choose a color. spec: https://html.spec.whatwg.org/multipage/input.html#color-state-(type=color) group: - forms diff --git a/features/input-number.yml b/features/input-number.yml index def824367e0..1bde460c86d 100644 --- a/features/input-number.yml +++ b/features/input-number.yml @@ -1,5 +1,5 @@ name: '' -description: The `` HTML element allows the user to input numeric information to a form. +description: The `` HTML element restricts input in the field to numeric data. spec: https://html.spec.whatwg.org/multipage/input.html#number-state-(type=number) group: - forms diff --git a/features/input-password.yml b/features/input-password.yml index f58533a1a97..9728f2a311f 100644 --- a/features/input-password.yml +++ b/features/input-password.yml @@ -1,9 +1,11 @@ name: '' -description: The `` HTML element represents a field for users to enter passwords in a way where the typed characters are hidden from view - typically replaced by asterisks. +description: The `` HTML element represents a field for users to enter passwords while ensuring the typed characters are hidden from view, typically replaced by asterisks. spec: https://html.spec.whatwg.org/multipage/input.html#password-state-(type=password) group: - forms - html-elements +status: + compute_from: html.elements.input.type_password compat_features: - html.elements.input.type_password - html.elements.input.type_password.insecure_login_handling diff --git a/features/input-password.yml.dist b/features/input-password.yml.dist index 220eb42970a..c3ab3406fab 100644 --- a/features/input-password.yml.dist +++ b/features/input-password.yml.dist @@ -2,11 +2,19 @@ # Do not edit this file by hand. Edit the source file instead! status: - baseline: false + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 support: - firefox: "52" - firefox_android: "52" + chrome: "1" + chrome_android: "18" + edge: "12" + firefox: "1" + firefox_android: "4" + safari: "1" + safari_ios: "1" compat_features: + # ⬇️ Same status as overall feature ⬇️ # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 @@ -20,7 +28,6 @@ compat_features: # safari_ios: "1" - html.elements.input.type_password - # ⬇️ Same status as overall feature ⬇️ # baseline: false # support: # firefox: "52" diff --git a/features/input-radio.yml b/features/input-radio.yml index c0b25c6a10a..54a02b74e03 100644 --- a/features/input-radio.yml +++ b/features/input-radio.yml @@ -1,5 +1,5 @@ name: '' -description: The `` HTML element represents a button which can be selected as one in a group. +description: The `` HTML element represents a button which can be selected to the exclusion of others, or as one of multiple selections in a group. spec: https://html.spec.whatwg.org/multipage/input.html#radio-button-state-(type=radio) group: - forms diff --git a/features/input-range.yml b/features/input-range.yml index fe8afb3156d..9ed2e394cfe 100644 --- a/features/input-range.yml +++ b/features/input-range.yml @@ -5,6 +5,8 @@ group: - forms - html-elements caniuse: input-range +status: + compute_from: html.elements.input.type_range compat_features: - html.elements.input.type_range - html.elements.input.type_range.vertical_orientation diff --git a/features/input-range.yml.dist b/features/input-range.yml.dist index 6a7c779051f..03e22d0b829 100644 --- a/features/input-range.yml.dist +++ b/features/input-range.yml.dist @@ -2,17 +2,19 @@ # Do not edit this file by hand. Edit the source file instead! status: - baseline: low - baseline_low_date: 2024-04-16 + baseline: high + baseline_low_date: 2017-03-16 + baseline_high_date: 2019-09-16 support: - chrome: "124" - chrome_android: "124" - edge: ≤79 - firefox: "120" - firefox_android: "120" - safari: "16.5" - safari_ios: "16.5" + chrome: "4" + chrome_android: "57" + edge: "12" + firefox: "23" + firefox_android: "52" + safari: "3.1" + safari_ios: "5" compat_features: + # ⬇️ Same status as overall feature ⬇️ # baseline: high # baseline_low_date: 2017-03-16 # baseline_high_date: 2019-09-16