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

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

Issue 2306383005: Made date input field read "mm", "dd", "yyyy", or equivalents in other languages, instead of "blank… (Closed)
Patch Set: Fixed test expectations. Created 4 years, 3 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="time" step="0.001" value="12:34:56.789"> 8 <input id=test type="time" step="0.001" value="12:34:56.789">
9 <script> 9 <script>
10 description('This test checks aria-help attribute of fields in multiple fields t ime input UI.'); 10 description('This test checks aria-help attribute of fields in multiple fields t ime input UI.');
(...skipping 25 matching lines...) Expand all
36 checkFocusedElementAXAttributes('Minutes, AXValueDescription: 34, intValue:34, r ange:0-59'); 36 checkFocusedElementAXAttributes('Minutes, AXValueDescription: 34, intValue:34, r ange:0-59');
37 keyDown('\t'); 37 keyDown('\t');
38 checkFocusedElementAXAttributes('Seconds, AXValueDescription: 56, intValue:56, r ange:0-59'); 38 checkFocusedElementAXAttributes('Seconds, AXValueDescription: 56, intValue:56, r ange:0-59');
39 keyDown('\t'); 39 keyDown('\t');
40 checkFocusedElementAXAttributes('Milliseconds, AXValueDescription: 789, intValue :789, range:0-999'); 40 checkFocusedElementAXAttributes('Milliseconds, AXValueDescription: 789, intValue :789, range:0-999');
41 keyDown('\t'); 41 keyDown('\t');
42 checkFocusedElementAXAttributes('AM/PM, AXValueDescription: PM, intValue:2, rang e:1-2'); 42 checkFocusedElementAXAttributes('AM/PM, AXValueDescription: PM, intValue:2, rang e:1-2');
43 43
44 debug('Empty value'); 44 debug('Empty value');
45 keyDown('Backspace'); 45 keyDown('Backspace');
46 checkFocusedElementAXAttributes('AM/PM, AXValueDescription: blank, intValue:0, r ange:1-2'); 46 checkFocusedElementAXAttributes('AM/PM, AXValueDescription: --, intValue:0, rang e:1-2');
47 keyDown('\t', ['shiftKey']); 47 keyDown('\t', ['shiftKey']);
48 keyDown('Backspace'); 48 keyDown('Backspace');
49 checkFocusedElementAXAttributes('Milliseconds, AXValueDescription: blank, intVal ue:0, range:0-999'); 49 checkFocusedElementAXAttributes('Milliseconds, AXValueDescription: ---, intValue :0, range:0-999');
50 keyDown('\t', ['shiftKey']); 50 keyDown('\t', ['shiftKey']);
51 keyDown('Backspace'); 51 keyDown('Backspace');
52 checkFocusedElementAXAttributes('Seconds, AXValueDescription: blank, intValue:0, range:0-59'); 52 checkFocusedElementAXAttributes('Seconds, AXValueDescription: --, intValue:0, ra nge:0-59');
53 keyDown('\t', ['shiftKey']); 53 keyDown('\t', ['shiftKey']);
54 keyDown('Backspace'); 54 keyDown('Backspace');
55 checkFocusedElementAXAttributes('Minutes, AXValueDescription: blank, intValue:0, range:0-59'); 55 checkFocusedElementAXAttributes('Minutes, AXValueDescription: --, intValue:0, ra nge:0-59');
56 keyDown('\t', ['shiftKey']); 56 keyDown('\t', ['shiftKey']);
57 keyDown('Backspace'); 57 keyDown('Backspace');
58 checkFocusedElementAXAttributes('Hours, AXValueDescription: blank, intValue:0, r ange:1-12'); 58 checkFocusedElementAXAttributes('Hours, AXValueDescription: --, intValue:0, rang e:1-12');
59 59
60 debug(''); 60 debug('');
61 testInput.parentNode.removeChild(testInput); 61 testInput.parentNode.removeChild(testInput);
62 </script> 62 </script>
63 </body> 63 </body>
64 </html> 64 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698