OLD | NEW |
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 24 matching lines...) Loading... |
35 keyDown('\t'); | 35 keyDown('\t'); |
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('\b'); | 45 keyDown('Backspace'); |
46 checkFocusedElementAXAttributes('AM/PM, AXValueDescription: blank, intValue:0, r
ange:1-2'); | 46 checkFocusedElementAXAttributes('AM/PM, AXValueDescription: blank, intValue:0, r
ange:1-2'); |
47 keyDown('\t', ['shiftKey']); | 47 keyDown('\t', ['shiftKey']); |
48 keyDown('\b'); | 48 keyDown('Backspace'); |
49 checkFocusedElementAXAttributes('Milliseconds, AXValueDescription: blank, intVal
ue:0, range:0-999'); | 49 checkFocusedElementAXAttributes('Milliseconds, AXValueDescription: blank, intVal
ue:0, range:0-999'); |
50 keyDown('\t', ['shiftKey']); | 50 keyDown('\t', ['shiftKey']); |
51 keyDown('\b'); | 51 keyDown('Backspace'); |
52 checkFocusedElementAXAttributes('Seconds, AXValueDescription: blank, intValue:0,
range:0-59'); | 52 checkFocusedElementAXAttributes('Seconds, AXValueDescription: blank, intValue:0,
range:0-59'); |
53 keyDown('\t', ['shiftKey']); | 53 keyDown('\t', ['shiftKey']); |
54 keyDown('\b'); | 54 keyDown('Backspace'); |
55 checkFocusedElementAXAttributes('Minutes, AXValueDescription: blank, intValue:0,
range:0-59'); | 55 checkFocusedElementAXAttributes('Minutes, AXValueDescription: blank, intValue:0,
range:0-59'); |
56 keyDown('\t', ['shiftKey']); | 56 keyDown('\t', ['shiftKey']); |
57 keyDown('\b'); | 57 keyDown('Backspace'); |
58 checkFocusedElementAXAttributes('Hours, AXValueDescription: blank, intValue:0, r
ange:1-12'); | 58 checkFocusedElementAXAttributes('Hours, AXValueDescription: blank, intValue:0, r
ange: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> |
OLD | NEW |