add:  t( "Nth-child", "#form select:first option:nth-child(3)", ["option1c"] ); t( "Nth-child", "#form select:first option:nth-child(0n+3)", ["option1c"] ); t( "Nth-child", "#form select:first option:nth-child(1n+0)", ["option1a", "option1b", "option1c", "option1d"] ); t( "Nth-child", "#form select:first option:nth-child(1n)", ["option1a", "option1b", "option1c", "option1d"] ); t( "Nth-child", "#form select:first option:nth-child(n)", ["option1a", "option1b", "option1c", "option1d"] ); t( "Nth-child", "#form select:first option:nth-child(even)", ["option1b", "option1d"] ); t( "Nth-child", "#form select:first option:nth-child(odd)", ["option1a", "option1c"] ); t( "Nth-child", "#form select:first option:nth-child(2n)", ["option1b", "option1d"] ); t( "Nth-child", "#form select:first option:nth-child(2n+1)", ["option1a", "option1c"] ); t( "Nth-child", "#form select:first option:nth-child(3n)", ["option1c"] ); t( "Nth-child", "#form select:first option:nth-child(3n+1)", ["option1a", "option1d"] ); t( "Nth-child", "#form select:first option:nth-child(3n+2)", ["option1b"] ); t( "Nth-child", "#form select:first option:nth-child(3n+3)", ["option1c"] ); t( "Nth-child", "#form select:first option:nth-child(3n-1)", ["option1b"] ); t( "Nth-child", "#form select:first option:nth-child(3n-2)", ["option1a", "option1d"] ); t( "Nth-child", "#form select:first option:nth-child(3n-3)", ["option1c"] ); t( "Nth-child", "#form select:first option:nth-child(3n+0)", ["option1c"] ); t( "Nth-child", "#form select:first option:nth-child(-n+3)", ["option1a", "option1b", "option1c"] ); 
context: test("child and adjacent", function() {	expect(19);	t( "Child", "p > a", ["simon1","google","groups","mark","yahoo","simon"] );	t( "Child", "p> a", ["simon1","google","groups","mark","yahoo","simon"] );	t( "Child", "p >a", ["simon1","google","groups","mark","yahoo","simon"] );	t( "Child", "p>a", ["simon1","google","groups","mark","yahoo","simon"] );	t( "Child w/ Class", "p > a.blog", ["mark","simon"] );	t( "All Children", "code > *", ["anchor1","anchor2"] );	t( "All Grandchildren", "p > * > *", ["anchor1","anchor2"] );	t( "Adjacent", "a + a", ["groups"] );	t( "Adjacent", "a +a", ["groups"] );	t( "Adjacent", "a+ a", ["groups"] );	t( "Adjacent", "a+a", ["groups"] );	t( "Adjacent", "p + p", ["ap","en","sap"] );	t( "Comma, Child, and Adjacent", "a + a, code > a", ["groups","anchor1","anchor2"] );		t( "First Child", "p:first-child", ["firstp","sndp"] );	t( "Nth Child", "p:nth-child(1)", ["firstp","sndp"] );		t( "Last Child", "p:last-child", ["sap"] );	t( "Last Child", "a:last-child", ["simon1","anchor1","mark","yahoo","anchor2","simon"] );		t( "Nth-child", "#main form#form > *:nth-child(2)", ["text2"] );	t( "Nth-child", "#main form#form > :nth-child(2)", ["text2"] );});
meta: 5264	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5264/084079d2fd1c7ed3582612cc32b01346b43fb415/selector.js/clean/test/unit/selector.js