diff options
author | jzaefferer <joern.zaefferer@gmail.com> | 2010-04-13 13:25:09 +0200 |
---|---|---|
committer | jzaefferer <joern.zaefferer@gmail.com> | 2010-04-13 13:25:09 +0200 |
commit | c13462b5fd3c5bfa74471eb7f2c58c698961909d (patch) | |
tree | b047c2238cbba7b5e9b5e01c7553099c59995454 /tests/unit/progressbar | |
parent | 3280e3356d2a4f57f70f8170206eb4a439d66400 (diff) | |
download | jquery-ui-c13462b5fd3c5bfa74471eb7f2c58c698961909d.tar.gz jquery-ui-c13462b5fd3c5bfa74471eb7f2c58c698961909d.zip |
Progressbar unit test: Ignore false vs. false in IE6 AND 7 in aria attributes test
Diffstat (limited to 'tests/unit/progressbar')
-rw-r--r-- | tests/unit/progressbar/progressbar_core.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/progressbar/progressbar_core.js b/tests/unit/progressbar/progressbar_core.js index e3cf839ff..e59579634 100644 --- a/tests/unit/progressbar/progressbar_core.js +++ b/tests/unit/progressbar/progressbar_core.js @@ -21,8 +21,8 @@ test("accessibility", function() { el.progressbar("disable"); equals(el.attr("aria-disabled"), "true", "aria-disabled on"); el.progressbar("enable"); - // FAIL: for some reason IE6 returns a boolean false instead of the string - equals(el.attr("aria-disabled"), $.browser.msie && $.browser.version == 6 ? false : "false", "aria-disabled off"); + // FAIL: for some reason IE6 and 7 return a boolean false instead of the string + equals(el.attr("aria-disabled"), $.browser.msie && $.browser.version == 6 || $.browser.version == 7 ? false : "false", "aria-disabled off"); }); })(jQuery); |