Reorganized some of the animation tests to work with the new hide/show changes.
This commit is contained in:
parent
7b5cfb78ec
commit
f89f5eb61f
3 changed files with 23 additions and 22 deletions
|
@ -1441,7 +1441,7 @@ test("closest()", function() {
|
|||
isSet( jQuery("#main").closest("span,#html").get(), q("html"), "closest(span,#html)" );
|
||||
|
||||
isSet( jQuery("div:eq(1)").closest("div:first").get(), [], "closest(div:first)" );
|
||||
isSet( jQuery("div").closest("body:first div:last").get(), q("liveHandlerOrder"), "closest(body:first div:last)" );
|
||||
isSet( jQuery("div").closest("body:first div:last").get(), q("fx-tests"), "closest(body:first div:last)" );
|
||||
});
|
||||
|
||||
test("not()", function() {
|
||||
|
|
|
@ -184,7 +184,7 @@ test("stop(clearQueue, gotoEnd)", function() {
|
|||
|
||||
test("toggle()", function() {
|
||||
expect(6);
|
||||
var x = jQuery("#foo");
|
||||
var x = jQuery("#nothiddendiv");
|
||||
ok( x.is(":visible"), "is visible" );
|
||||
x.toggle();
|
||||
ok( x.is(":hidden"), "is hidden" );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue