Remove SnowLeopard expected results.
[WebKit-https.git] / LayoutTests / fast / forms / month-multiple-fields / month-multiple-fields-ax-aria-attributes.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../../fast/js/resources/js-test-pre.js"></script>
5 <script src="../resources/multiple-fields-ax-aria-attributes.js"></script>
6 </head>
7 <body>
8 <input id="test" type="month" value="2012-10">
9 <script>
10 description('This test checks aria-help attribute of fields in multiple fields week input UI.');
11
12 var testInput = document.getElementById('test');
13
14 if (!window.accessibilityController || !window.eventSender)
15     debug('Please run inside DRT or WTR.');
16 else {
17     debug('Non-empty value');
18     testInput.focus();
19     checkFocusedElementAXAttributes('AXHelp: Month, AXValueDescription: October, intValue:10, range:1-12');
20     eventSender.keyDown('\t');
21     checkFocusedElementAXAttributes('AXHelp: Year, AXValueDescription: 2012, intValue:2012, range:1-275760');
22
23     debug('Empty value');
24     eventSender.keyDown('\b');
25     checkFocusedElementAXAttributes('AXHelp: Year, AXValueDescription: blank, intValue:0, range:1-275760');
26     eventSender.keyDown('\t', ['shiftKey']);
27     eventSender.keyDown('\b');
28     checkFocusedElementAXAttributes('AXHelp: Month, AXValueDescription: blank, intValue:0, range:1-12');
29
30     debug('');
31     testInput.remove();
32 }
33 </script>
34 <script src="../../../fast/js/resources/js-test-post.js"></script>
35 </body>
36 </html>