mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Progressbar unit test: Ignore false vs. false in IE6 AND 7 in aria attributes test
This commit is contained in:
parent
3280e3356d
commit
c13462b5fd
@ -21,8 +21,8 @@ test("accessibility", function() {
|
|||||||
el.progressbar("disable");
|
el.progressbar("disable");
|
||||||
equals(el.attr("aria-disabled"), "true", "aria-disabled on");
|
equals(el.attr("aria-disabled"), "true", "aria-disabled on");
|
||||||
el.progressbar("enable");
|
el.progressbar("enable");
|
||||||
// FAIL: for some reason IE6 returns a boolean false instead of the string
|
// 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 ? false : "false", "aria-disabled off");
|
equals(el.attr("aria-disabled"), $.browser.msie && $.browser.version == 6 || $.browser.version == 7 ? false : "false", "aria-disabled off");
|
||||||
});
|
});
|
||||||
|
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
|
Loading…
Reference in New Issue
Block a user