+
+ t( "Check position filtering", "div#nothiddendiv:eq(0)", ["nothiddendiv"] );
+ t( "Check position filtering", "div#nothiddendiv:last", ["nothiddendiv"] );
+ t( "Check position filtering", "div#nothiddendiv:not(:gt(0))", ["nothiddendiv"] );
+ t( "Check position filtering", "#foo > :not(:first)", ["en", "sap"] );
+ t( "Check position filtering", "select > :not(:gt(2))", ["option1a", "option1b", "option1c"] );
+ t( "Check position filtering", "select:lt(2) :not(:first)", ["option1b", "option1c", "option1d", "option2a", "option2b", "option2c", "option2d"] );
+ t( "Check position filtering", "div.nothiddendiv:eq(0)", ["nothiddendiv"] );
+ t( "Check position filtering", "div.nothiddendiv:last", ["nothiddendiv"] );
+ t( "Check position filtering", "div.nothiddendiv:not(:gt(0))", ["nothiddendiv"] );
+
+ t( "Check element position", "div div:eq(0)", ["nothiddendivchild"] );
+ t( "Check element position", "div div:eq(5)", ["fadeout"] );
+ t( "Check element position", "div div:eq(27)", ["t2037"] );
+ t( "Check element position", "div div:first", ["nothiddendivchild"] );
+ t( "Check element position", "div > div:first", ["nothiddendivchild"] );
+ t( "Check element position", "#dl div:first div:first", ["foo"] );
+ t( "Check element position", "#dl div:first > div:first", ["foo"] );
+ t( "Check element position", "div#nothiddendiv:first > div:first", ["nothiddendivchild"] );