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

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

Issue 2897943003: Fix DumpAccessibilityEvents tests on Mac and improve test coverage (Closed)
Patch Set: Rebaseline one more windows test Created 3 years, 6 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>Apple</option> 5 <option>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 document.querySelector('select').focus(); 10 document.querySelector('select').focus();
14 function go() { 11 function go() {
15 var comboBox = document.querySelector('select'); 12 var comboBox = document.querySelector('select');
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 } 16 }
20 </script> 17 </script>
21 </body> 18 </body>
22 </html> 19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698