Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input (continued) #2044

Merged
merged 36 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
7252125
Add the `<input>` element
petele Jul 16, 2024
825ab05
Merge branch 'main' into elem-input
petele Jul 18, 2024
3ac7fb2
Merge branch 'main' into elem-input
petele Jul 19, 2024
6378cc5
group
petele Jul 19, 2024
0f5f2a4
Merge branch 'main' into elem-input
petele Jul 23, 2024
634c9eb
Merge branch 'main' into elem-input
petele Aug 8, 2024
52fc3a4
Merge branch 'main' into elem-input
petele Aug 14, 2024
ba156ab
rename to input-text
petele Aug 21, 2024
6a83a91
individual features for special input types
petele Aug 21, 2024
911fc31
Merge branch 'main' into elem-input
petele Aug 21, 2024
4dfb8b7
Merge branch 'main' into elem-input
autonome Oct 21, 2024
49c9cab
Merge branch 'main' into pinput
autonome Oct 23, 2024
c8da66e
desc updates
autonome Oct 23, 2024
74cf578
Merge branch 'main' into pinput
autonome Nov 11, 2024
046eba2
Update features/input-color.yml
autonome Nov 12, 2024
74243e8
Update features/input-date-time.yml
autonome Nov 12, 2024
3bfb13a
Update features/input-date-time.yml
autonome Nov 12, 2024
503ec78
Update features/input-email-tel-url.yml
autonome Nov 12, 2024
2d97b51
Update features/input.yml
autonome Nov 12, 2024
e6709b4
Merge branch 'main' into pinput
autonome Nov 12, 2024
6ca52af
Update features/input-email-tel-url.yml
autonome Nov 12, 2024
80b672e
Update features/input-event.yml
autonome Nov 12, 2024
7de8fba
Update features/input-number.yml
autonome Nov 12, 2024
93e13fb
uncomment non-real keys here
autonome Nov 12, 2024
791daa7
Merge branch 'pinput' of https://github.com/autonome/web-features int…
autonome Nov 12, 2024
0cb518b
regen
autonome Nov 12, 2024
27e0644
move more input types to features
autonome Nov 13, 2024
65a18b6
Update features/input-range.yml
autonome Nov 13, 2024
3bafda8
keep search status quo
autonome Nov 13, 2024
86ee85f
add new dist files
autonome Nov 13, 2024
a2e9f68
more num keys
autonome Nov 14, 2024
da7a18e
move more keys out of input
autonome Nov 14, 2024
2ffc50f
Merge branch 'main' into pinput
autonome Nov 14, 2024
3dc567d
compute baseline for type=number
autonome Nov 14, 2024
227dbe9
desc and baseline tweaks
autonome Nov 14, 2024
44bdfd5
Merge branch 'main' into pinput
autonome Nov 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions features/input-color.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: '<input type="color">'
description: The `<input>` HTML element with the `type="color"` attribute represents a color picker, which might be styled differently by the browser.
autonome marked this conversation as resolved.
Show resolved Hide resolved
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
14 changes: 14 additions & 0 deletions features/input-color.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Generated from: input-color.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
autonome marked this conversation as resolved.
Show resolved Hide resolved
support:
chrome: "20"
chrome_android: "25"
edge: "14"
firefox: "29"
safari: "12.1"
safari_ios: "12.2"
compat_features:
- html.elements.input.type_color
16 changes: 16 additions & 0 deletions features/input-date-time.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: <input> with types date, datetime-local, time, and week
autonome marked this conversation as resolved.
Show resolved Hide resolved
description: The `<input>` element allows the user to input date and time information to a form.
autonome marked this conversation as resolved.
Show resolved Hide resolved
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
autonome marked this conversation as resolved.
Show resolved Hide resolved
- html.elements.input.type_time
- html.elements.input.type_week
51 changes: 51 additions & 0 deletions features/input-date-time.yml.dist
Original file line number Diff line number Diff line change
@@ -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
14 changes: 14 additions & 0 deletions features/input-email-tel-url.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: <input> with types email, tel, and url
autonome marked this conversation as resolved.
Show resolved Hide resolved
description: The `<input>` 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.
autonome marked this conversation as resolved.
Show resolved Hide resolved
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
54 changes: 54 additions & 0 deletions features/input-email-tel-url.yml.dist
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion features/input-event.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: input (event)
name: Input event
autonome marked this conversation as resolved.
Show resolved Hide resolved
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
12 changes: 12 additions & 0 deletions features/input-number.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: '<input type="number">'
description: The `<input>` element allows the user to input numeric information to a form.
autonome marked this conversation as resolved.
Show resolved Hide resolved
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
56 changes: 56 additions & 0 deletions features/input-number.yml.dist
Original file line number Diff line number Diff line change
@@ -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
16 changes: 16 additions & 0 deletions features/input-range.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: '<input type="range">'
description: The `<input>` element allows the user to select a value using a slider widget.
autonome marked this conversation as resolved.
Show resolved Hide resolved
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
autonome marked this conversation as resolved.
Show resolved Hide resolved
40 changes: 40 additions & 0 deletions features/input-range.yml.dist
Original file line number Diff line number Diff line change
@@ -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
autonome marked this conversation as resolved.
Show resolved Hide resolved
File renamed without changes.
6 changes: 6 additions & 0 deletions features/input-search.yml.dist
Original file line number Diff line number Diff line change
@@ -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: {}
28 changes: 6 additions & 22 deletions features/draft/html-elements/input.yml → features/input.yml
autonome marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
draft_date: 2024-06-05
name: <input>
description: The `<input>` element TODO.
description: The `<input>` 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.
autonome marked this conversation as resolved.
Show resolved Hide resolved
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:
- api.HTMLInputElement
autonome marked this conversation as resolved.
Show resolved Hide resolved
- api.HTMLInputElement.accept
Expand Down Expand Up @@ -64,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
Expand All @@ -77,31 +78,14 @@ compat_features:
# Excluded because of a non-real value
# - html.elements.input.size
autonome marked this conversation as resolved.
Show resolved Hide resolved
- 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
autonome marked this conversation as resolved.
Show resolved Hide resolved
# 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
Loading