Skip to content

Commit d3d6f97

Browse files
foolipddbeck
andauthored
Add <datalist> (#1086)
Co-authored-by: Daniel D. Beck <[email protected]>
1 parent 33f86c9 commit d3d6f97

File tree

2 files changed

+51
-0
lines changed

2 files changed

+51
-0
lines changed

features/datalist.dist.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Generated from: datalist.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
name: <datalist>
5+
description: The `<datalist>` element defines a set of recommended values for an `<input>` element. Browsers may show a dropdown menu of all options, or matching options as the user types.
6+
spec: https://html.spec.whatwg.org/multipage/form-elements.html#the-datalist-element
7+
group: forms
8+
caniuse: datalist
9+
usage_stats: https://chromestatus.com/metrics/feature/timeline/popularity/23
10+
# BCD and caniuse use partial support differently for <datalist>. The versions
11+
# below were picked as the lowest versions where both agree the feature is fully
12+
# supported, with the single exception of Firefox, which BCD treats as partially
13+
# support due to it not working for all input types.
14+
# TODO: Align BCD and caniuse and use partial support with notes to match here.
15+
status:
16+
baseline: false
17+
support:
18+
chrome: "69"
19+
chrome_android: "69"
20+
edge: "12"
21+
firefox: "110"
22+
safari: "12.1"
23+
safari_ios: "12.2"
24+
compat_features:
25+
- api.HTMLDataListElement
26+
- api.HTMLDataListElement.options
27+
- html.elements.datalist

features/datalist.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: <datalist>
2+
description: The `<datalist>` element defines a set of recommended values for an `<input>` element. Browsers may show a dropdown menu of all options, or matching options as the user types.
3+
spec: https://html.spec.whatwg.org/multipage/form-elements.html#the-datalist-element
4+
group: forms
5+
caniuse: datalist
6+
usage_stats: https://chromestatus.com/metrics/feature/timeline/popularity/23
7+
# BCD and caniuse use partial support differently for <datalist>. The versions
8+
# below were picked as the lowest versions where both agree the feature is fully
9+
# supported, with the single exception of Firefox, which BCD treats as partially
10+
# support due to it not working for all input types.
11+
# TODO: Align BCD and caniuse and use partial support with notes to match here.
12+
status:
13+
baseline: false
14+
support:
15+
chrome: "69"
16+
chrome_android: "69"
17+
edge: "12"
18+
firefox: "110"
19+
safari: "12.1"
20+
safari_ios: "12.2"
21+
compat_features:
22+
- api.HTMLDataListElement
23+
- api.HTMLDataListElement.options
24+
- html.elements.datalist

0 commit comments

Comments
 (0)