OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../../resources/js-test.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <input id="test" type="week" value="2012-W10"> | 7 <input id="test" type="week" value="2012-W10"> |
8 <script> | 8 <script> |
9 description('This test checks aria-help attribute of fields in multiple fields w
eek input UI.'); | 9 description('This test checks aria-help attribute of fields in multiple fields w
eek input UI.'); |
10 | 10 |
11 function focusedFieldValueDescription() | 11 function focusedFieldValueDescription() |
12 { | 12 { |
13 var element = accessibilityController.focusedElement; | 13 var element = accessibilityController.focusedElement; |
14 return element.helpText + ', ' + element.valueDescription + ', ' + element.
minValue + ', ' + element.maxValue; | 14 return element.helpText + ', ' + element.valueDescription + ', ' + element.
minValue + ', ' + element.maxValue; |
(...skipping 16 matching lines...) Expand all Loading... |
31 eventSender.keyDown('\t', ['shiftKey']); | 31 eventSender.keyDown('\t', ['shiftKey']); |
32 eventSender.keyDown('\b'); | 32 eventSender.keyDown('\b'); |
33 shouldBeEqualToString('focusedFieldValueDescription()', 'AXHelp: Week, AXVal
ueDescription: blank, 1, 53'); | 33 shouldBeEqualToString('focusedFieldValueDescription()', 'AXHelp: Week, AXVal
ueDescription: blank, 1, 53'); |
34 | 34 |
35 debug(''); | 35 debug(''); |
36 testInput.remove(); | 36 testInput.remove(); |
37 } | 37 } |
38 </script> | 38 </script> |
39 </body> | 39 </body> |
40 </html> | 40 </html> |
OLD | NEW |