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

Unified Diff: content/test/data/accessibility/event/aria-treeitem-focus.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 side-by-side diff with in-line comments
Download patch
Index: content/test/data/accessibility/event/aria-treeitem-focus.html
diff --git a/content/test/data/accessibility/event/aria-treeitem-focus.html b/content/test/data/accessibility/event/aria-treeitem-focus.html
new file mode 100644
index 0000000000000000000000000000000000000000..bc057fd57aa27e8e3673a738e5ea3d81c455156b
--- /dev/null
+++ b/content/test/data/accessibility/event/aria-treeitem-focus.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<body>
+<ul id="tree" role="tree" tabindex="0" aria-activedescendant="before">
+ <li id="before" role="treeitem" tabindex="0" aria-expanded="false">
+ Major
+ </li>
+ <li role="treeitem" tabindex="0" aria-expanded="true">
+ Minor
+ </li>
+ <ul role="group">
+ <li role="treeitem" tabindex="0">
+ Minor Seventh
+ </li>
+ <li id="after" role="treeitem" tabindex="0">
+ Minor Ninth
+ </li>
+ </ul>
+</ul>
+<script>
+ var tree = document.getElementById('tree');
+ tree.focus();
+ function go() {
+ tree.setAttribute('aria-activedescendant', 'after');
+ }
+</script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698