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

Unified Diff: content/test/data/accessibility/event/aria-combo-box-focus.html

Issue 2025923002: Reland 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, 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 side-by-side diff with in-line comments
Download patch
Index: content/test/data/accessibility/event/aria-combo-box-focus.html
diff --git a/content/test/data/accessibility/event/aria-combo-box-focus.html b/content/test/data/accessibility/event/aria-combo-box-focus.html
new file mode 100644
index 0000000000000000000000000000000000000000..e2268c02d1641dfcebe35c5961cc1825f07fcdff
--- /dev/null
+++ b/content/test/data/accessibility/event/aria-combo-box-focus.html
@@ -0,0 +1,20 @@
+<!--
+@MAC-DENY:AXLayoutComplete*
+-->
+<!DOCTYPE html>
+<html>
+<body>
+<input role="combobox" type="search" aria-expanded="true" aria-haspopup="true"
+ aria-autocomplete="list" aria-activedescendant="option1" aria-owns="list">
+<ul id="list" role="listbox">
+<li id="option1" role="option">Apple</li>
+<li id="option2" role="option">Orange</li>
+<li id="option3" role="option">Banana</li>
+</ul>
+<script>
+ function go() {
+ document.querySelector('input').focus();
+ }
+</script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698