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 34 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
8 changes: 8 additions & 0 deletions features/input-button.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: '<input type="button">'
description: The `<input type="button">` 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
17 changes: 17 additions & 0 deletions features/input-button.yml.dist
Original file line number Diff line number Diff line change
@@ -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
10 changes: 10 additions & 0 deletions features/input-checkbox.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: '<input type="checkbox">'
description: The `<input type="checkbox">` 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:
- api.HTMLInputElement.defaultChecked
- api.HTMLInputElement.indeterminate
- html.elements.input.type_checkbox
43 changes: 43 additions & 0 deletions features/input-checkbox.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# 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: "3.6"
firefox_android: "4"
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
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 type="color">` HTML element represents a color picker.
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: Date and time <input> types
description: The `<input type="date">` and `<input type="time">` 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
- html-elements
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
- html.elements.input.type_time
- html.elements.input.type_week
73 changes: 73 additions & 0 deletions features/input-date-time.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# 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:
# 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
# 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"
# safari_ios: ≤11.3
- html.elements.input.type_month

# 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: Email, telephone, and URL <input> types
description: The `<input type="email">`, `<input type="tel">`, and `<input type="url">` 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)
- 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
9 changes: 9 additions & 0 deletions features/input-file.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: '<input type="file">'
description: The `<input type="file">` 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:
- api.HTMLInputElement.files
- html.elements.input.type_file
42 changes: 42 additions & 0 deletions features/input-file.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# 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: "2"
chrome_android: "18"
edge: "12"
firefox: "3"
firefox_android: "4"
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
8 changes: 8 additions & 0 deletions features/input-hidden.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: '<input type="hidden">'
description: The `<input type="hidden">` 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
17 changes: 17 additions & 0 deletions features/input-hidden.yml.dist
Original file line number Diff line number Diff line change
@@ -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
9 changes: 9 additions & 0 deletions features/input-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: '<input type="image">'
description: The `<input type="image">` 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:
- api.HTMLInputElement.src
- html.elements.input.type_image
18 changes: 18 additions & 0 deletions features/input-image.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# 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:
- api.HTMLInputElement.src
- html.elements.input.type_image
20 changes: 20 additions & 0 deletions features/input-number.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: '<input type="number">'
description: The `<input type="number">` 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
- html-elements
caniuse: input-number
status:
compute_from: html.elements.input.type_number
compat_features:
- api.HTMLInputElement.valueAsNumber
- 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
- html.elements.input.type_number
Loading