Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / calendar-picker / month-picker-ax.html
blobc9c44ced08685f3845f94673663689e7726d6d6f
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <script src="../../../resources/js-test.js"></script>
5 <script src="../../forms/resources/picker-common.js"></script>
6 <script src="resources/calendar-picker-common.js"></script>
7 <p id="description"></p>
8 <div id="console"></div>
9 <input type="month" id="month1" value="2000-01">
11 <script>
12 description('Tests if typing an arrow key dispatches |Focus| and |ActiveDescendantChanged| a11y events.');
14 window.accessibilityController.setNotificationListener(function(axnode, type) {
15 if (type == 'Focus') {
16 // Remove ',' to reduce platform differences.
17 debug('Focused: ' + escapeHTML(accessibilityController.focusedElement.description.replace(/,/g, '')));
18 } else if (type == 'ActiveDescendantChanged') {
19 testPassed('Received ActiveDescendantChanged');
20 if (++activeDescendantCounter == 2)
21 finishJSTest();
23 });
24 var activeDescendantCounter = 0;
25 var month1 = document.getElementById('month1');
26 openPicker(month1, test1);
28 function test1() {
29 eventSender.keyDown('rightArrow');
32 </script>
33 </body>
34 </html>