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

Unified Diff: content/test/data/accessibility/event/aria-tree-expand.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-tree-expand.html
diff --git a/content/test/data/accessibility/event/aria-tree-expand.html b/content/test/data/accessibility/event/aria-tree-expand.html
new file mode 100644
index 0000000000000000000000000000000000000000..c4d55a1b05ae327cbda5b332234a73dce4a8e2ae
--- /dev/null
+++ b/content/test/data/accessibility/event/aria-tree-expand.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<body>
+<ul role="tree">
+ <li role="treeitem" aria-expanded="false">
+ Major
+ </li>
+ <li id="node" role="treeitem" aria-expanded="false">
+ Minor
+ </li>
+ <ul id="subtree" role="group" hidden>
+ <li role="treeitem">
+ Minor Seventh
+ </li>
+ <li role="treeitem">
+ Minor Ninth
+ </li>
+ </ul>
+</ul>
+<script>
+ function go() {
+ var node = document.getElementById('node');
+ var subtree = document.getElementById('subtree');
+ node.setAttribute('aria-expanded', 'true');
+ subtree.hidden = false;
+ }
+</script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698