Skip to content
Permalink
Browse files

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

  • Loading branch information...
jeresig committed Sep 29, 2009
1 parent b0306cc commit b996026e383eae34dd52824dda5bbe029e2eda51
Showing with 2 additions and 1 deletion.
  1. +1 −0 test/index.html
  2. +1 −1 test/unit/selector.js
@@ -29,6 +29,7 @@
<body id="body">
<h1 id="header">jQuery Test Suite</h1>
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>

<!-- Test HTML -->
@@ -361,7 +361,7 @@ test("pseudo (:) selectors", function() {
t( "Position Less Than", "p:lt(3)", ["firstp","ap","sndp"] );
t( "Is A Parent", "p:parent", ["firstp","ap","sndp","en","sap","first"] );
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", "#main:hidden", ["main"] );
t( "Is Hidden", "#dl:hidden", ["dl"] );

0 comments on commit b996026

Please sign in to comment.
You can’t perform that action at this time.