1 Multiple fields UI of datetime-local 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 "98765-09-20T07:56"
17 == Digit keys starting with zero ==
18 PASS input.value is "0044-02-03T05:06"
19 == Digit keys and backspace key ==
20 PASS input.value is "0008-05-06T09:10"
22 PASS input.value is "0004-09-05T19:05"
23 PASS document.activeElement.id is "input"
25 PASS input.value is "2012-10-29T00:00"
26 PASS input.value is "2012-08-29T00:00"
27 == Up/Down keys on empty value ==
28 PASS input.value is currentYear + "-11-01T01:59"
30 PASS input.value is "2012-09-05T12:00"
31 PASS document.activeElement.id is "after"
33 PASS input.value is "2012-09-30T13:03"
34 PASS document.activeElement.id is "before"
35 == Up key on maximum value ==
36 PASS input.value is "0001-10-14T00:00"
37 == Up key with a maximum attribute ==
38 PASS input.value is "1000-01-01T00:00"
39 == Down key on minimum value ==
40 PASS input.value is ""
41 == Down key with a minimum attribute ==
42 PASS input.value is ""
43 == Inconsistent min-max attributes ==
44 PASS input.value is "1000-12-31T23:59"
45 PASS input.value is "1999-12-31T23:59"
46 == Make an invalid date ==
47 PASS input.value is ""
49 PASS input.value is ""
51 PASS input.value is ""
53 PASS input.value is "2012-12-01T00:00"
54 PASS input.value is "2012-12-02T00:00"
55 == RTL focus navigation ==
56 The tests in this block fail on platforms without the lang-attribute-aware-form-control-UI feature.
57 PASS input.value is "2012-09-01T23:00"
58 PASS input.value is "2012-02-01T01:00"
59 PASS input.value is "0008-03-01T01:00"
60 == Disabled/readonly ==
61 PASS input.value is "2012-10-08T00:00"
62 PASS input.value is "2012-11-08T00:00"
63 PASS input.value is "2012-11-08T00:00"
64 PASS input.value is "2012-12-08T00:00"
65 PASS successfullyParsed is true