Upstream version 11.39.266.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / platform / win / fast / forms / suggestion-picker / week-suggestion-picker-key-operations-expected.txt
1 Tests that 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 Check that up/down arrow keys work.
11 PASS highlightedEntry() is null
12 PASS highlightedEntry() is "2012-W01"
13 PASS highlightedEntry() is "2012-W02"
14 PASS highlightedEntry() is "2012-W01"
15 Check that up arrow key at top of list does nothing.
16 PASS highlightedEntry() is "2012-W01"
17 PASS highlightedEntry() is "2012-W02"
18 Check that page up/down arrow keys work.
19 PASS highlightedEntry() is "2012-W40"
20 PASS highlightedEntry() is "2013-W08"
21 PASS highlightedEntry() is "2012-W21"
22 PASS highlightedEntry() is "2013-W08"
23 PASS highlightedEntry() is "@openCalendarPicker"
24 Check that down arrow key at bottom of list does nothing.
25 PASS highlightedEntry() is "@openCalendarPicker"
26 Check that enter key sets the highlighted value.
27 PASS highlightedEntry() is "2013-W18"
28 PASS document.getElementById("mock-page-popup") is null
29 PASS document.getElementById("week").value is "2013-W18"
30 Reopen popup.
31 PASS highlightedEntry() is "@openCalendarPicker"
32 Open calendar picker.
33 PASS expectingDidHideEvent is true
34 PASS expectingDidHideEvent is false
35 Confirm calendar picker did open.
36 PASS popupWindow.document.getElementById("main").firstChild.classList.contains("calendar-picker") is true
37 Check that escape key closes the popup.
38 PASS document.getElementById("mock-page-popup") is null
39 PASS document.getElementById("week").value is "2013-W18"
40 PASS F4 opened picker.
41 PASS successfullyParsed is true
42
43 TEST COMPLETE
44