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

Side by Side Diff: LayoutTests/fast/forms/calendar-picker/date-picker-ax.html

Issue 536903002: AX: Make the calendar role "grid". (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
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="date" id="date1" value="2000-01-02">
10
11 <script>
12 description('Tests if typing an arrow key dispatches |Focus| and |ActiveDescenda ntChanged| a11y events.');
13
14 window.accessibilityController.setNotificationListener(function(axnode, type) {
15 if (type == 'Focus') {
16 debug('Focused: ' + accessibilityController.focusedElement.description);
17 return;
18 } else if (type == 'ActiveDescendantChanged') {
19 testPassed('Received ActiveDescendantChanged');
20 finishJSTest();
21 }
22 });
23 var date1 = document.getElementById('date1');
24 openPicker(date1, test1);
25
26 function test1() {
27 eventSender.keyDown('rightArrow');
28 }
29 </script>
30 </body>
31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698