-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
inputmode
global HTML attribute (#2573)
Co-authored-by: Patrick Brosset <[email protected]>
- Loading branch information
1 parent
41aef47
commit b44c75c
Showing
4 changed files
with
34 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: inputmode | ||
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. | ||
spec: https://html.spec.whatwg.org/multipage/interaction.html#attr-inputmode | ||
caniuse: input-inputmode | ||
compat_features: | ||
- api.HTMLElement.inputMode | ||
- html.global_attributes.inputmode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated from: inputmode.yml | ||
# Do not edit this file by hand. Edit the source file instead! | ||
|
||
status: | ||
baseline: high | ||
baseline_low_date: 2021-12-07 | ||
baseline_high_date: 2024-06-07 | ||
support: | ||
chrome: "66" | ||
chrome_android: "66" | ||
edge: "79" | ||
firefox: "95" | ||
firefox_android: "79" | ||
safari: "12.1" | ||
safari_ios: "12.2" | ||
compat_features: | ||
- api.HTMLElement.inputMode | ||
- html.global_attributes.inputmode |