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

Side by Side Diff: LayoutTests/fast/forms/select/popup-menu-ax.html

Issue 736883002: Implement <select> Popup Menu using PagePopup (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed tests for mac Created 5 years, 10 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 <p id="description"></p>
7 <div id="console"></div>
8 <select id="menu">
9 <option>foo</option>
10 <option selected>bar</option>
11 <option>qux</option>
12 <option>baz</option>
13 </select>
14
15 <script>
16 description('Tests if typing an arrow key dispatches a |MenuListItemSelected| a1 1y event.');
17
18 window.accessibilityController.setNotificationListener(function(axnode, type) {
19 if (type == 'MenuListItemSelected') {
20 testPassed('Received MenuListItemSelected');
21 finishJSTest();
22 }
23 });
24 var menu = document.getElementById('menu');
25 openPicker(menu, test1, function () {
26 testFailed('picker didn\'t open')
27 finishJSTest();
28 });
29
30 function test1() {
31 eventSender.keyDown('downArrow');
32 }
33
34 </script>
35 </body>
36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698