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

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

Issue 2707263011: Test aria-pressed=mixed on windows (Closed)
Patch Set: git cl try 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: 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 3e17d31568bf9b63d29da4c85ee32ae9e1166684..749f28f4a84be710d5fe0abb30fa51810fc1aa70 100644
--- a/third_party/WebKit/LayoutTests/accessibility/aom-string-properties.html
+++ b/third_party/WebKit/LayoutTests/accessibility/aom-string-properties.html
@@ -35,23 +35,17 @@ test(function(t) {
test(function(t) {
var node = document.getElementById("checked");
var axNode = accessibilityController.accessibleElementById("checked");
- assert_equals(axNode.isChecked, false);
- assert_equals(axNode.isButtonStateMixed, false);
+ assert_equals(axNode.checkedState, "false");
node.accessibleNode.checked = "true";
- assert_equals(axNode.isChecked, true);
- assert_equals(axNode.isButtonStateMixed, false);
+ assert_equals(axNode.checkedState, "true");
node.accessibleNode.checked = "mixed";
- assert_equals(axNode.isChecked, true);
- assert_equals(axNode.isButtonStateMixed, true);
+ assert_equals(axNode.checkedState, "mixed");
// It also works to set it to just true or false (no quotes).
node.accessibleNode.checked = true;
- assert_equals(axNode.isChecked, true);
- assert_equals(axNode.isButtonStateMixed, false);
+ assert_equals(axNode.checkedState, "true");
node.accessibleNode.checked = false;
- assert_equals(axNode.isChecked, false);
- assert_equals(axNode.isButtonStateMixed, false);
-
+ assert_equals(axNode.checkedState, "false");
}, "AccessibleNode.checked");
</script>

Powered by Google App Engine
This is Rietveld 408576698