Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(365)

Side by Side Diff: LayoutTests/fast/forms/time-multiple-fields/time-multiple-fields-open-picker-key-bindings.html

Issue 11369041: Merge 132985 - F4 inside <input type=time> should not open calendar picker (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1312/
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../js/resources/js-test-pre.js"></script>
5 <script src="../resources/picker-common.js"></script> 5 <script src="../resources/picker-common.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <p id="description"></p> 8 <p id="description"></p>
9 <div id="console"></div> 9 <div id="console"></div>
10 10
11 <input type=time id=time value="2011-05-01"> 11 <input type=time id=time value="2011-05-01">
12 12
13 <script> 13 <script>
14 description('F4 or Alt+Down should not open the calendar picker.'); 14 description('F4 or Alt+Down should not open the calendar picker.');
15 15
16 var input = document.getElementById('time'); 16 var input = document.getElementById('time');
17 sendKey(input, 'F4', false, false); 17 sendKey(input, 'F4', false, false);
18 shouldBeNull('document.getElementById("mock-page-popup")'); 18 shouldBeNull('document.getElementById("mock-page-popup")');
19 sendKey(input, 'Down', false, true); 19 sendKey(input, 'Down', false, true);
20 shouldBeNull('document.getElementById("mock-page-popup")'); 20 shouldBeNull('document.getElementById("mock-page-popup")');
21 21
22 finishJSTest(); 22 finishJSTest();
23 23
24 </script> 24 </script>
25 <script src="../../js/resources/js-test-post.js"></script> 25 <script src="../../js/resources/js-test-post.js"></script>
26 </body> 26 </body>
27 </html> 27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698