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

Side by Side Diff: content/test/data/accessibility/event/menulist-next.html

Issue 2897943003: Fix DumpAccessibilityEvents tests on Mac and improve test coverage (Closed)
Patch Set: Rebaseline one more windows test Created 3 years, 7 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
OLDNEW
1 <!--
2 @MAC-DENY:AXLayoutComplete*
3 -->
4 <!DOCTYPE html> 1 <!DOCTYPE html>
5 <html> 2 <html>
6 <body> 3 <body>
7 <select> 4 <select>
8 <option selected>Apple</option> 5 <option selected>Apple</option>
9 <option>Orange</option> 6 <option>Orange</option>
10 <option>Banana</option> 7 <option>Banana</option>
11 </select> 8 </select>
12 <script> 9 <script>
13 var comboBox = document.querySelector('select'); 10 var comboBox = document.querySelector('select');
14 comboBox.focus(); 11 comboBox.focus();
15 // Expand the combo box. 12 // Expand the combo box.
16 var clickEvent = document.createEvent('MouseEvents'); 13 var clickEvent = document.createEvent('MouseEvents');
17 clickEvent.initMouseEvent('mousedown', true, true, window); 14 clickEvent.initMouseEvent('mousedown', true, true, window);
18 comboBox.dispatchEvent(clickEvent); 15 comboBox.dispatchEvent(clickEvent);
19 function go() { 16 function go() {
20 document.querySelector('select').selectedIndex = 1; 17 document.querySelector('select').selectedIndex = 1;
21 } 18 }
22 </script> 19 </script>
23 </body> 20 </body>
24 </html> 21 </html>
OLDNEW
« no previous file with comments | « content/test/data/accessibility/event/menulist-focus.html ('k') | content/test/data/accessibility/event/menulist-popup.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698