Adapted the jQuery test suite to handle the toolbar moving inline.

This commit is contained in:
John Resig 2009-09-29 21:40:17 +00:00
parent b0306cc3a6
commit b996026e38
2 changed files with 2 additions and 1 deletions

View file

@ -29,6 +29,7 @@
<body id="body"> <body id="body">
<h1 id="header">jQuery Test Suite</h1> <h1 id="header">jQuery Test Suite</h1>
<h2 id="qunit-banner"></h2> <h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2> <h2 id="qunit-userAgent"></h2>
<!-- Test HTML --> <!-- Test HTML -->

View file

@ -361,7 +361,7 @@ test("pseudo (:) selectors", function() {
t( "Position Less Than", "p:lt(3)", ["firstp","ap","sndp"] ); t( "Position Less Than", "p:lt(3)", ["firstp","ap","sndp"] );
t( "Is A Parent", "p:parent", ["firstp","ap","sndp","en","sap","first"] ); t( "Is A Parent", "p:parent", ["firstp","ap","sndp","en","sap","first"] );
t( "Is Visible", "#form input:visible", [] ); t( "Is Visible", "#form input:visible", [] );
t( "Is Visible", "div:visible:not(.qunit-testrunner-toolbar):lt(2)", ["nothiddendiv", "nothiddendivchild"] ); t( "Is Visible", "div:visible:not(#qunit-testrunner-toolbar):lt(2)", ["nothiddendiv", "nothiddendivchild"] );
t( "Is Hidden", "#form input:hidden", ["text1","text2","radio1","radio2","check1","check2","hidden1","hidden2","name","search"] ); t( "Is Hidden", "#form input:hidden", ["text1","text2","radio1","radio2","check1","check2","hidden1","hidden2","name","search"] );
t( "Is Hidden", "#main:hidden", ["main"] ); t( "Is Hidden", "#main:hidden", ["main"] );
t( "Is Hidden", "#dl:hidden", ["dl"] ); t( "Is Hidden", "#dl:hidden", ["dl"] );