]> source.dussan.org Git - jquery-ui.git/commitdiff
Progressbar unit test: Ignore false vs. false in IE6 in aria attributes test
authorjzaefferer <joern.zaefferer@gmail.com>
Tue, 13 Apr 2010 09:35:50 +0000 (11:35 +0200)
committerjzaefferer <joern.zaefferer@gmail.com>
Tue, 13 Apr 2010 09:35:50 +0000 (11:35 +0200)
tests/unit/progressbar/progressbar_core.js

index 2d95ae2f61907c59f2f5fc1708d8871d32003070..e3cf839ff078508b117b95257be7ac49088d233a 100644 (file)
@@ -22,7 +22,7 @@ test("accessibility", function() {
        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"), "false", "aria-disabled off");
+       equals(el.attr("aria-disabled"), $.browser.msie && $.browser.version == 6 ? false : "false", "aria-disabled off");
 });
 
 })(jQuery);