1 Tests the behavior of .inputMode of HTMLInputElement.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS input.inputMode is ""
7 PASS input.inputMode is "0"
8 PASS input.inputMode is "abc"
9 PASS input.getAttribute("inputmode") is "foo"
10 PASS input.getAttribute("inputmode") is ""
11 Setting null to inputMode:
12 PASS input.inputMode is "null"
13 PASS input.getAttribute("inputmode") is "null"
14 PASS input.inputMode is "null"
15 Setting undefined to inputMode:
16 PASS input.inputMode is "undefined"
17 PASS input.getAttribute("inputmode") is "undefined"
18 PASS input.inputMode is "undefined"
19 Setting non-string to inputMode:
20 PASS input.inputMode is "256"
21 PASS input.getAttribute("inputmode") is "256"
22 PASS input.inputMode is "256"
23 PASS successfullyParsed is true