1 Multiple fields UI of week 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-W09"
17 == Digit keys starting with zero ==
18 PASS input.value is "0300-W02"
19 == Digit keys and backspace key ==
20 PASS input.value is "0006-W01"
22 PASS input.value is "0005-W06"
23 PASS document.activeElement.id is "input"
25 PASS input.value is "2012-W10"
26 PASS input.value is "2012-W08"
27 == Up/Down keys on empty value ==
28 PASS input.value is currentYear + "-W52"
29 == Up/Down keys on empty value 2 ==
30 PASS input.value is currentYear + "-W02"
32 PASS input.value is "0005-W09"
33 PASS input.value is "0005-W07"
34 PASS document.activeElement.id is "after"
36 PASS input.value is "0003-W09"
37 PASS document.activeElement.id is "before"
38 == Up key on maximum value ==
39 PASS input.value is "0001-W10"
40 == Up key with a maximum attribute ==
41 PASS input.value is "1000-W13"
42 == Down key on minimum value ==
43 PASS input.value is ""
44 == Down key with a minimum attribute ==
45 PASS input.value is ""
46 == Inconsistent min-max attributes ==
47 PASS input.value is "1000-W13"
48 PASS input.value is "1999-W13"
49 == Make an invalid date ==
50 PASS input.value is ""
52 PASS input.value is ""
54 PASS input.value is ""
56 PASS input.value is "0001-W12"
57 PASS input.value is "0002-W12"
58 == Disabled/readonly ==
59 PASS input.value is "2012-W10"
60 PASS input.value is "2012-W11"
61 PASS input.value is "2012-W11"
62 PASS input.value is "2012-W12"
63 PASS successfullyParsed is true