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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/date-multiple-fields/date-multiple-fields-ax-aria-attributes.html

Issue 2045603002: Handle the "key" field as opposed to keyIdentifier field. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove initialization of the view Created 4 years, 6 months 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="../../../resources/js-test.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 <script src="../resources/multiple-fields-ax-aria-attributes.js"></script> 5 <script src="../resources/multiple-fields-ax-aria-attributes.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <input id="test" type="date"> 8 <input id="test" type="date">
9 <script> 9 <script>
10 description('This test checks aria-help attribute of fields in multiple fields d ate input UI.'); 10 description('This test checks aria-help attribute of fields in multiple fields d ate input UI.');
(...skipping 15 matching lines...) Expand all
26 eventSender.keyDown('\t', ['shiftKey']); 26 eventSender.keyDown('\t', ['shiftKey']);
27 debug('Non-empty value'); 27 debug('Non-empty value');
28 testInput.value = "2012-10-09"; 28 testInput.value = "2012-10-09";
29 checkFocusedElementAXAttributes('Month, AXValueDescription: 10, intValue:10, range:1-12'); 29 checkFocusedElementAXAttributes('Month, AXValueDescription: 10, intValue:10, range:1-12');
30 eventSender.keyDown('\t'); 30 eventSender.keyDown('\t');
31 checkFocusedElementAXAttributes('Day, AXValueDescription: 09, intValue:9, ra nge:1-31'); 31 checkFocusedElementAXAttributes('Day, AXValueDescription: 09, intValue:9, ra nge:1-31');
32 eventSender.keyDown('\t'); 32 eventSender.keyDown('\t');
33 checkFocusedElementAXAttributes('Year, AXValueDescription: 2012, intValue:20 12, range:1-275760'); 33 checkFocusedElementAXAttributes('Year, AXValueDescription: 2012, intValue:20 12, range:1-275760');
34 34
35 debug('Empty value'); 35 debug('Empty value');
36 eventSender.keyDown('\b'); 36 eventSender.keyDown('Backspace');
37 checkFocusedElementAXAttributes('Year, AXValueDescription: blank, intValue:0 , range:1-275760'); 37 checkFocusedElementAXAttributes('Year, AXValueDescription: blank, intValue:0 , range:1-275760');
38 eventSender.keyDown('\t', ['shiftKey']); 38 eventSender.keyDown('\t', ['shiftKey']);
39 eventSender.keyDown('\b'); 39 eventSender.keyDown('Backspace');
40 checkFocusedElementAXAttributes('Day, AXValueDescription: blank, intValue:0, range:1-31'); 40 checkFocusedElementAXAttributes('Day, AXValueDescription: blank, intValue:0, range:1-31');
41 eventSender.keyDown('\t', ['shiftKey']); 41 eventSender.keyDown('\t', ['shiftKey']);
42 eventSender.keyDown('\b'); 42 eventSender.keyDown('Backspace');
43 checkFocusedElementAXAttributes('Month, AXValueDescription: blank, intValue: 0, range:1-12'); 43 checkFocusedElementAXAttributes('Month, AXValueDescription: blank, intValue: 0, range:1-12');
44 44
45 debug(''); 45 debug('');
46 testInput.parentNode.removeChild(testInput); 46 testInput.parentNode.removeChild(testInput);
47 } 47 }
48 </script> 48 </script>
49 </body> 49 </body>
50 </html> 50 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698