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

Unified Diff: third_party/WebKit/LayoutTests/accessibility/aom-string-properties.html

Issue 2973973002: Implement AccessibleNode.hasPopUp for Accessibility Object Model phase 1 (Closed)
Patch Set: Fix handling of aria-haspopup=false Created 3 years, 5 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: third_party/WebKit/LayoutTests/accessibility/aom-string-properties.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/aom-string-properties.html b/third_party/WebKit/LayoutTests/accessibility/aom-string-properties.html
index 58524ee13d9f73189977ca835a2ad82e93823074..10b934647df20a008bba77d30dc848b3200bd01f 100644
--- a/third_party/WebKit/LayoutTests/accessibility/aom-string-properties.html
+++ b/third_party/WebKit/LayoutTests/accessibility/aom-string-properties.html
@@ -61,6 +61,20 @@ test(function(t) {
}, "AccessibleNode.current");
</script>
+<div role="textbox" id="hasPopUp"></div>
+
+<script>
+test(function(t) {
+ var node = document.getElementById("hasPopUp");
+ var axNode = accessibilityController.accessibleElementById("hasPopUp");
+ assert_equals(axNode.hasPopup, false);
+ node.accessibleNode.hasPopUp = true;
+ assert_equals(axNode.hasPopup, true);
+ // TODO(dmazzoni): Test support for ARIA 1.1 values like "dialog", "tree", etc.
+ // when those are mapped through to platform APIs.
+}, "AccessibleNode.hasPopUp");
+</script>
+
<div role="textbox" id="invalid"></div>
<script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload-disabled/webexposed/global-interface-listing-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698