Skip to content

Commit f8b8084

Browse files
dtapuskajgraham
authored andcommitted
Bug 1553275 [wpt PR 16718] - Add experimental support for enterKeyHint., a=testonly
Automatic update from web-platform-tests Add experimental support for enterKeyHint. enterKeyHint allows customization of the virtual keyboard enter key. Enabled behind a flag since it isn't approved to ship yet. Spec: whatwg/html#3538 BUG=634330 Cq-Include-Trybots: luci.chromium.try​:linux_layout_tests_layout_ng Change-Id: I32b510d8157e0c676300a38bb4c7fa2bbced0b3d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1221696 Commit-Queue: Dave Tapuska <dtapuska@chromium.org> Reviewed-by: Jeremy Roman <jbroman@chromium.org> Reviewed-by: Changwan Ryu <changwan@chromium.org> Reviewed-by: Avi Drissman <avi@chromium.org> Reviewed-by: Ken Buchanan <kenrb@chromium.org> Reviewed-by: Joshua Bell <jsbell@chromium.org> Cr-Commit-Position: refs/heads/master@{#661904} -- wp5At-commits: 74870bb3fbf231c8b89f529fbfea7f22ad149c33 wpt-pr: 16718
1 parent 865b6bc commit f8b8084

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

testing/web-platform/tests/html/dom/elements-misc.js

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ var miscElements = {
5353

5454
// Global attributes should exist even on unknown elements
5555
undefinedelement: {
56+
enterKeyHint: {type: "enum", keywords: ["enter", "done", "go", "next", "previous", "search", "send"]},
5657
inputMode: {type: "enum", keywords: ["none", "text", "tel", "url", "email", "numeric", "decimal", "search"]},
5758
},
5859
};

testing/web-platform/tests/html/semantics/forms/attributes-common-to-form-controls/contains.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
"id": "autofocusing-a-form-control-the-autofocus-attribute",
2424
"original_id": "autofocusing-a-form-control:-the-autofocus-attribute"
2525
},
26+
{
27+
"id": "input-modalities-the-enterkeyhint-attribute",
28+
"original_id": "input-modalities:-the-enterkeyhint-attribute"
29+
},
2630
{
2731
"id": "input-modalities-the-inputmode-attribute",
2832
"original_id": "input-modalities:-the-inputmode-attribute"
@@ -31,4 +35,4 @@
3135
"id": "autofilling-form-controls-the-autocomplete-attribute",
3236
"original_id": "autofilling-form-controls:-the-autocomplete-attribute"
3337
}
34-
]
38+
]

0 commit comments

Comments
 (0)