Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / forms / calendar-picker / calendar-picker-key-operations-expected.txt
1 Tests if calendar picker key bindings work as expected.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 Check that page popup doesn't exist at first.
7 PASS document.getElementById("mock-page-popup") is null
8 Check that page popup exists.
9 PASS popupWindow.pagePopupController.toString() is "[object PagePopupController]"
10 PASS isCalendarTableScrollingWithAnimation() is false
11 PASS currentMonth() is "2000-01"
12 PASS selectedValue() is "2000-01-02"
13 PASS selectedDayCells() is "2000-01-02"
14 PASS highlightedValue() is "2000-01-02"
15 PASS highlightedDayCells() is "2000-01-02"
16 Check that arrow keys work properly even when going between weeks and months.
17 press up
18 PASS currentMonth() is "2000-01"
19 PASS selectedValue() is "2000-01-02"
20 PASS selectedDayCells() is "2000-01-02"
21 PASS highlightedValue() is "1999-12-26"
22 PASS highlightedDayCells() is "1999-12-26"
23 press up
24 PASS isCalendarTableScrollingWithAnimation() is true
25 PASS currentMonth() is "1999-12"
26 PASS selectedValue() is "2000-01-02"
27 PASS selectedDayCells() is ""
28 PASS highlightedValue() is "1999-12-19"
29 PASS highlightedDayCells() is "1999-12-19"
30 press down
31 PASS currentMonth() is "1999-12"
32 PASS selectedValue() is "2000-01-02"
33 PASS selectedDayCells() is ""
34 PASS highlightedValue() is "1999-12-26"
35 PASS highlightedDayCells() is "1999-12-26"
36 press down
37 PASS isCalendarTableScrollingWithAnimation() is true
38 PASS currentMonth() is "2000-01"
39 PASS selectedValue() is "2000-01-02"
40 PASS selectedDayCells() is "2000-01-02"
41 PASS highlightedValue() is "2000-01-02"
42 PASS highlightedDayCells() is "2000-01-02"
43 press up
44 PASS currentMonth() is "2000-01"
45 PASS selectedValue() is "2000-01-02"
46 PASS selectedDayCells() is "2000-01-02"
47 PASS highlightedValue() is "1999-12-26"
48 PASS highlightedDayCells() is "1999-12-26"
49 press left
50 PASS isCalendarTableScrollingWithAnimation() is true
51 PASS currentMonth() is "1999-12"
52 PASS selectedValue() is "2000-01-02"
53 PASS selectedDayCells() is ""
54 PASS highlightedValue() is "1999-12-25"
55 PASS highlightedDayCells() is "1999-12-25"
56 press right
57 PASS currentMonth() is "1999-12"
58 PASS selectedValue() is "2000-01-02"
59 PASS selectedDayCells() is ""
60 PASS highlightedValue() is "1999-12-26"
61 PASS highlightedDayCells() is "1999-12-26"
62 press pageDown
63 PASS currentMonth() is "2000-01"
64 PASS selectedValue() is "2000-01-02"
65 PASS selectedDayCells() is "2000-01-02"
66 PASS highlightedValue() is "1999-12-26"
67 PASS highlightedDayCells() is "1999-12-26"
68 press pageUp
69 PASS currentMonth() is "1999-12"
70 PASS selectedValue() is "2000-01-02"
71 PASS selectedDayCells() is ""
72 PASS highlightedValue() is "1999-12-26"
73 PASS highlightedDayCells() is "1999-12-26"
74 press m
75 PASS isCalendarTableScrollingWithAnimation() is true
76 PASS currentMonth() is "2000-01"
77 PASS selectedValue() is "2000-01-02"
78 PASS selectedDayCells() is "2000-01-02"
79 PASS highlightedValue() is "2000-01-23"
80 PASS highlightedDayCells() is "2000-01-23"
81 press shift + m
82 PASS isCalendarTableScrollingWithAnimation() is true
83 PASS currentMonth() is "1999-12"
84 PASS selectedValue() is "2000-01-02"
85 PASS selectedDayCells() is ""
86 PASS highlightedValue() is "1999-12-26"
87 PASS highlightedDayCells() is "1999-12-26"
88 press y
89 PASS isCalendarTableScrollingWithAnimation() is true
90 PASS currentMonth() is "2000-12"
91 PASS selectedValue() is "2000-01-02"
92 PASS selectedDayCells() is ""
93 PASS highlightedValue() is "2000-12-24"
94 PASS highlightedDayCells() is "2000-12-24"
95 press shift + y
96 PASS isCalendarTableScrollingWithAnimation() is true
97 PASS currentMonth() is "1999-12"
98 PASS selectedValue() is "2000-01-02"
99 PASS selectedDayCells() is ""
100 PASS highlightedValue() is "1999-12-26"
101 PASS highlightedDayCells() is "1999-12-26"
102 press d
103 PASS isCalendarTableScrollingWithAnimation() is true
104 PASS currentMonth() is "2009-12"
105 PASS selectedValue() is "2000-01-02"
106 PASS selectedDayCells() is ""
107 PASS highlightedValue() is "2009-12-27"
108 PASS highlightedDayCells() is "2009-12-27"
109 press shift + d
110 PASS isCalendarTableScrollingWithAnimation() is true
111 PASS currentMonth() is "1999-12"
112 PASS selectedValue() is "2000-01-02"
113 PASS selectedDayCells() is ""
114 PASS highlightedValue() is "1999-12-26"
115 PASS highlightedDayCells() is "1999-12-26"
116 press enter
117 PASS document.getElementById("date").value is "1999-12-26"
118 Check if tabbing works.
119 PASS focusedElement() is ".list-view calendar-table-view"
120 PASS focusedElement() is ".calendar-navigation-button"
121 PASS focusedElement() is ".calendar-navigation-button today-button"
122 PASS focusedElement() is ".calendar-navigation-button"
123 PASS focusedElement() is ".month-popup-button"
124 open the month popup
125 PASS popupWindow.global.picker.monthPopupView.isVisible is true
126 PASS highlightedMonthButton() is "1999-12"
127 TAB shouldn't change focus
128 PASS focusedElement() is ".list-view year-list-view"
129 PASS focusedElement().indexOf("month-button") < 0 is true
130 PASS focusedElement().indexOf("list-cell") < 0 is true
131 PASS focusedElement() is ".list-view year-list-view"
132 press down
133 PASS highlightedMonthButton() is "2000-04"
134 press right
135 PASS highlightedMonthButton() is "2000-05"
136 press right
137 PASS highlightedMonthButton() is "2000-06"
138 press right
139 PASS highlightedMonthButton() is "2000-07"
140 press right
141 PASS highlightedMonthButton() is "2000-08"
142 press right
143 PASS highlightedMonthButton() is "2000-09"
144 press left
145 PASS highlightedMonthButton() is "2000-08"
146 press up
147 PASS highlightedMonthButton() is "2000-04"
148 press pageDown
149 PASS highlightedMonthButton() is "2001-04"
150 press pageUp
151 PASS highlightedMonthButton() is "2000-04"
152 select month in the month popup
153 PASS popupWindow.global.picker.monthPopupView.isVisible is false
154 PASS currentMonth() is "2000-04"
155 PASS selectedValue() is "1999-12-26"
156 PASS selectedDayCells() is ""
157 PASS highlightedValue() is "1999-12-26"
158 PASS highlightedDayCells() is ""
159 focus calendar table
160 press t
161 PASS testToday() || testToday() is true
162 press esc
163 PASS document.getElementById("mock-page-popup") is null
164 PASS successfullyParsed is true
165
166 TEST COMPLETE
167