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

Unified Diff: content/test/data/accessibility/aom/aom-expanded.html

Issue 2796223003: Boolean attributes for Accessibility Object Model Phase 1 (Closed)
Patch Set: Created 3 years, 8 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/aom/aom-expanded.html
diff --git a/content/test/data/accessibility/aom/aom-expanded.html b/content/test/data/accessibility/aom/aom-expanded.html
new file mode 100644
index 0000000000000000000000000000000000000000..1911123a073ba98f2c6a99b4886f92b9fcb44b4c
--- /dev/null
+++ b/content/test/data/accessibility/aom/aom-expanded.html
@@ -0,0 +1,20 @@
+<!--
+@MAC-ALLOW:AXExpanded*
+@WIN-ALLOW:EXPANDED*
+@WIN-ALLOW:COLLAPSED*
+@WIN-ALLOW:HASPOPUP*
+@BLINK-ALLOW:expanded*
+-->
+<ul role="menu" style="list-style-type: none">
+ <li id="i1" role="menuitem" aria-haspopup="true">New</li>
+ <li id="i2" role="menuitem" aria-haspopup="true">Open</li>
+ <li id="i3" role="menuitem">Save</li>
+ <li id="i4" role="menuitem">Quit</li>
+
+ <script>
+ document.getElementById("i1").accessibleNode.expanded = false;
+ document.getElementById("i2").accessibleNode.expanded = true;
+ document.getElementById("i3").accessibleNode.expanded = false;
+ document.getElementById("i4").accessibleNode.expanded = true;
+ </script>
+</ul>

Powered by Google App Engine
This is Rietveld 408576698