Skip to content

Commit b44c75c

Browse files
Add inputmode global HTML attribute (#2573)
Co-authored-by: Patrick Brosset <[email protected]>
1 parent 41aef47 commit b44c75c

File tree

4 files changed

+34
-24
lines changed

4 files changed

+34
-24
lines changed

features/contenteditable.yml

-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@ caniuse: contenteditable
55
compat_features:
66
- html.global_attributes.contenteditable
77
- api.HTMLElement.contentEditable
8-
- api.HTMLElement.inputMode
98
- api.HTMLElement.isContentEditable

features/contenteditable.yml.dist

+9-23
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33

44
status:
55
baseline: high
6-
baseline_low_date: 2021-12-07
7-
baseline_high_date: 2024-06-07
6+
baseline_low_date: 2015-07-29
7+
baseline_high_date: 2018-01-29
88
support:
9-
chrome: "66"
10-
chrome_android: "66"
11-
edge: "79"
12-
firefox: "95"
13-
firefox_android: "79"
14-
safari: "12.1"
15-
safari_ios: "12.2"
9+
chrome: "1"
10+
chrome_android: "18"
11+
edge: "12"
12+
firefox: "4"
13+
firefox_android: "4"
14+
safari: ≤4
15+
safari_ios: ≤3.2
1616
compat_features:
1717
# baseline: high
1818
# baseline_low_date: 2015-07-29
@@ -52,17 +52,3 @@ compat_features:
5252
# safari: "3"
5353
# safari_ios: "1"
5454
- api.HTMLElement.isContentEditable
55-
56-
# ⬇️ Same status as overall feature ⬇️
57-
# baseline: high
58-
# baseline_low_date: 2021-12-07
59-
# baseline_high_date: 2024-06-07
60-
# support:
61-
# chrome: "66"
62-
# chrome_android: "66"
63-
# edge: "79"
64-
# firefox: "95"
65-
# firefox_android: "79"
66-
# safari: "12.1"
67-
# safari_ios: "12.2"
68-
- api.HTMLElement.inputMode

features/inputmode.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
name: inputmode
2+
description: The `inputmode` global HTML attribute gives a hint about what type of data is to be entered into an `<input>` element, such as `text`, `numeric`, or `email`, so the browser may help the user enter data using an adapted input mechanism, such as an on-screen virtual keyboard.
3+
spec: https://html.spec.whatwg.org/multipage/interaction.html#attr-inputmode
4+
caniuse: input-inputmode
5+
compat_features:
6+
- api.HTMLElement.inputMode
7+
- html.global_attributes.inputmode

features/inputmode.yml.dist

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Generated from: inputmode.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: high
6+
baseline_low_date: 2021-12-07
7+
baseline_high_date: 2024-06-07
8+
support:
9+
chrome: "66"
10+
chrome_android: "66"
11+
edge: "79"
12+
firefox: "95"
13+
firefox_android: "79"
14+
safari: "12.1"
15+
safari_ios: "12.2"
16+
compat_features:
17+
- api.HTMLElement.inputMode
18+
- html.global_attributes.inputmode

0 commit comments

Comments
 (0)