X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=test%2Funit%2Fselector.js;h=0a5d0bbff0664da890d78b237c4ffa0389e0add8;hb=474d814076963f41157c0054448984c00fd46c1b;hp=233d11a4be9287166ec07f66baa84e22a8e9c60b;hpb=9d6c4d8413e678203a905ab3bc3a87415a6a70ce;p=jquery.git diff --git a/test/unit/selector.js b/test/unit/selector.js index 233d11a..0a5d0bb 100644 --- a/test/unit/selector.js +++ b/test/unit/selector.js @@ -379,6 +379,7 @@ test("pseudo - position", function() { t( "Check element position", "div#nothiddendiv:first > div:first", ["nothiddendivchild"] ); }); +if ( (window.Sizzle || jQuery.find).selectors.filters.visibility ) { test("pseudo - visibility", function() { expect(11); @@ -401,6 +402,7 @@ test("pseudo - visibility", function() { t( "Is Not Visible", '#nothiddendivchild:hidden', [] ); $div.remove(); }); +} test("pseudo - form", function() { expect(8);