diff options
author | Richard Gibson <richard.gibson@gmail.com> | 2013-03-26 21:20:27 -0400 |
---|---|---|
committer | Richard Gibson <richard.gibson@gmail.com> | 2013-04-05 00:37:36 -0400 |
commit | 5d1dfe747403c093cc0e837651dcf80027387fc6 (patch) | |
tree | 44cc433e2d2a3e496443128025983b39205c5822 /test/unit/css.js | |
parent | 6358da8aa32e7ed52da3af1a912bdd1a05863faf (diff) | |
download | jquery-5d1dfe747403c093cc0e837651dcf80027387fc6.tar.gz jquery-5d1dfe747403c093cc0e837651dcf80027387fc6.zip |
Fix #13539: Utilize Sizzle hooks. Close gh-1215.
(cherry picked from commit 4ef516903e6e48bce388ca47c1ed88a447199fa1)
Diffstat (limited to 'test/unit/css.js')
-rw-r--r-- | test/unit/css.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/css.js b/test/unit/css.js index e8ce75b02..dc851f745 100644 --- a/test/unit/css.js +++ b/test/unit/css.js @@ -864,8 +864,8 @@ test( ":visible/:hidden selectors", function() { ok( !jQuery("#nothiddendiv").is(":visible"), "Modified CSS display: Assert element is hidden" ); jQuery("#nothiddendiv").css({"display": "block"}); ok( jQuery("#nothiddendiv").is(":visible"), "Modified CSS display: Assert element is visible"); - ok( jQuery(window).is(":visible"), "Calling is(':visible') on window does not throw an error in IE."); - ok( jQuery(document).is(":visible"), "Calling is(':visible') on document does not throw an error in IE."); + ok( jQuery(window).is(":visible") || true, "Calling is(':visible') on window does not throw an exception (#10267)"); + ok( jQuery(document).is(":visible") || true, "Calling is(':visible') on document does not throw an exception (#10267)"); ok( jQuery("#nothiddendiv").is(":visible"), "Modifying CSS display: Assert element is visible"); jQuery("#nothiddendiv").css("display", "none"); |