@@ -326,7 +326,7 @@ test("pseudo (:) selectors", function() {
326
326
t ( "Text Contains" , "a:contains('Google Groups (Link)')" , [ "groups" ] ) ;
327
327
t ( "Text Contains" , "a:contains('(Link)')" , [ "groups" ] ) ;
328
328
329
- t ( "Element Preceded By" , "p ~ div" , [ "foo" , "fx-queue" , "fx-tests" , "moretests" , "tabindex-tests" , "liveHandlerOrder" ] ) ;
329
+ t ( "Element Preceded By" , "p ~ div" , [ "foo" , "moretests" , "tabindex-tests" , "liveHandlerOrder" ] ) ;
330
330
t ( "Not" , "a.blog:not(.link)" , [ "mark" ] ) ;
331
331
t ( "Not - multiple" , "#form option:not(:contains('Nothing'),#option1b,:selected)" , [ "option1c" , "option1d" , "option2b" , "option2c" , "option3d" , "option3e" ] ) ;
332
332
//t( "Not - complex", "#form option:not([id^='opt']:nth-child(-n+3))", [ "option1a", "option1d", "option2d", "option3d", "option3e"] );
@@ -358,7 +358,7 @@ test("pseudo (:) selectors", function() {
358
358
t ( "Position Less Than" , "p:lt(3)" , [ "firstp" , "ap" , "sndp" ] ) ;
359
359
t ( "Is A Parent" , "p:parent" , [ "firstp" , "ap" , "sndp" , "en" , "sap" , "first" ] ) ;
360
360
t ( "Is Visible" , "#form input:visible" , [ ] ) ;
361
- t ( "Is Visible" , "div:visible:not(.testrunner-toolbar)" , [ "nothiddendiv" , "nothiddendivchild" ] ) ;
361
+ t ( "Is Visible" , "div:visible:not(.testrunner-toolbar):lt(2) " , [ "nothiddendiv" , "nothiddendivchild" ] ) ;
362
362
t ( "Is Hidden" , "#form input:hidden" , [ "text1" , "text2" , "radio1" , "radio2" , "check1" , "check2" , "hidden1" , "hidden2" , "name" ] ) ;
363
363
t ( "Is Hidden" , "#main:hidden" , [ "main" ] ) ;
364
364
t ( "Is Hidden" , "#dl:hidden" , [ "dl" ] ) ;
@@ -374,8 +374,8 @@ test("pseudo (:) selectors", function() {
374
374
t ( "Check position filtering" , "div.nothiddendiv:not(:lt(0))" , [ "nothiddendiv" ] ) ;
375
375
376
376
t ( "Check element position" , "div div:eq(0)" , [ "nothiddendivchild" ] ) ;
377
- t ( "Check element position" , "div div:eq(5)" , [ "fadeout " ] ) ;
378
- t ( "Check element position" , "div div:eq(27)" , [ "t2037 " ] ) ;
377
+ t ( "Check element position" , "div div:eq(5)" , [ "t2037 " ] ) ;
378
+ t ( "Check element position" , "div div:eq(27)" , [ "hide " ] ) ;
379
379
t ( "Check element position" , "div div:first" , [ "nothiddendivchild" ] ) ;
380
380
t ( "Check element position" , "div > div:first" , [ "nothiddendivchild" ] ) ;
381
381
t ( "Check element position" , "#dl div:first div:first" , [ "foo" ] ) ;
0 commit comments