1 Multiple fields UI of month input type with keyboard events
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 Please run this with DumpRenderTree.
10 Left/Right - Move focus field inside element
11 Up/Down - Increment/decrement value of focus field
12 Tab - Move focus field
13 Backspace - Make value empty
16 PASS input.value is "0012-09-20"
17 == Digit keys starting with zero ==
18 PASS input.value is "0044-02-03"
19 == Digit keys and backspace key ==
20 PASS input.value is "0008-05-06"
21 == Digit keys with maximum value ==
22 PASS input.value is "2014-05-06"
23 PASS input.value is "0145-05-06"
24 == Digit keys with minimum value ==
25 PASS input.value is "1999-05-06"
26 == Entering "00" to month ==
27 PASS input.value is "2013-01-16"
28 == Entering "13" to month ==
29 PASS input.value is "2013-12-16"
31 PASS input.value is "2012-09-06"
32 PASS document.activeElement.id is "input"
34 PASS input.value is "2012-10-29"
35 PASS input.value is "2012-08-29"
36 == Up/Down keys on empty value ==
37 PASS input.value is currentYear + "-11-01"
38 == Up/Down keys on empty value 2 ==
39 PASS input.value is currentYear + "-02-28"
41 PASS input.value is "2012-09-05"
42 PASS input.value is "2012-09-07"
43 PASS document.activeElement.id is "after"
45 PASS input.value is "0003-09-30"
46 PASS document.activeElement.id is "before"
47 == Up key on maximum value ==
48 PASS input.value is "0001-10-14"
49 == Up key with a maximum attribute ==
50 PASS input.value is "1000-01-01"
51 == Down key on minimum value ==
52 PASS input.value is ""
53 == Down key with a minimum attribute ==
54 PASS input.value is ""
55 == Inconsistent min-max attributes ==
56 PASS input.value is "1000-12-31"
57 PASS input.value is "1999-12-31"
58 == Make an invalid date ==
59 PASS input.value is ""
60 PASS input.value is ""
62 PASS input.value is ""
64 PASS input.value is ""
66 PASS input.value is "2012-12-01"
67 PASS input.value is "2012-12-02"
68 == RTL focus navigation ==
69 The tests in this block fail on platforms without the lang-attribute-aware-form-control-UI feature.
70 PASS input.value is "2012-09-01"
71 PASS input.value is "2012-02-01"
72 PASS input.value is "2012-03-01"
73 == Disabled/readonly ==
74 PASS input.value is "2012-10-08"
75 PASS input.value is "2012-11-08"
76 PASS input.value is "2012-11-08"
77 PASS input.value is "2012-12-08"
78 PASS successfullyParsed is true