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

Unified Diff: third_party/WebKit/LayoutTests/accessibility/option-aria-checked.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/option-aria-checked.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/option-aria-checked.html b/third_party/WebKit/LayoutTests/accessibility/option-aria-checked.html
index d109e0999e42ce052de0ca5dcffb487e8b501ee9..2a5435f4cc5481aa6ee20740611dd01fb8b271d5 100644
--- a/third_party/WebKit/LayoutTests/accessibility/option-aria-checked.html
+++ b/third_party/WebKit/LayoutTests/accessibility/option-aria-checked.html
@@ -19,27 +19,27 @@
test(function(t) {
var ax = axElementById("element1");
- assert_false(ax.isChecked);
+ assert_equals(ax.checkedState, "false");
}, "<option> of role menuitemcheckbox is not checked by default");
test(function(t) {
var ax = axElementById("element2");
- assert_true(ax.isChecked);
+ assert_equals(ax.checkedState, "true");
}, "<option> of role menuitemcheckbox can be checked with aria-checked");
test(function(t) {
var ax = axElementById("element3");
- assert_false(ax.isChecked);
+ assert_equals(ax.checkedState, "false");
}, "<option> of role menuitemradio is not checked by default");
test(function(t) {
var ax = axElementById("element4");
- assert_true(ax.isChecked);
+ assert_equals(ax.checkedState, "true");
}, "<option> of role menuitemradio can be checked with aria-checked");
test(function(t) {
var ax = axElementById("element5");
- assert_false(ax.isChecked);
+ assert_equals(ax.checkedState, "false");
}, "<option> of no role is not checked even with aria-checked set");
</script>
« no previous file with comments | « third_party/WebKit/LayoutTests/accessibility/input-mixed.html ('k') | third_party/WebKit/Source/core/dom/AXObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698