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

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

Issue 2024053003: Revert of Uses the activedescendant_changed event received from Blink to fire the right focus event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
(Empty)
1 <!--
2 @MAC-DENY:AXLayoutComplete*
3 -->
4 <!DOCTYPE html>
5 <html>
6 <body>
7 <select>
8 <option selected>Apple</option>
9 <option>Orange</option>
10 <option>Banana</option>
11 </select>
12 <script>
13 document.querySelector('select').focus();
14 function go() {
15 // Setting |selectedIndex| to -1 unselects any selected item.
16 document.querySelector('select').selectedIndex = -1;
17 }
18 </script>
19 </body>
20 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698