Test :first jQuery selector.
The first list item in each of the following lists should be green:
- First LI with no preceding comment
- Second LI
- Third LI
- First LI with a preceding comment
- Second LI
- Third LI
Test :first-child jQuery selector.
The first list item in each of the following lists should be green:
- First LI with no preceding comment
- Second LI
- Third LI
- First LI with a preceding comment
- Second LI
- Third LI
Test :nth(1) jQuery selector.
The second list item in each of the following lists should be green:
- First LI
- Second LI with no preceding comment
- Third LI
- First LI
- Second LI with a preceding comment
- Third LI
Test :eq(1) jQuery selector.
The second list item in each of the following lists should be green:
- First LI
- Second LI with no preceding comment
- Third LI
- First LI
- Second LI with a preceding comment
- Third LI
Test :lt(2) jQuery selector.
The first and second list item in each of the following lists should be green:
- First LI with no preceding comment
- Second LI with no preceding comment
- Third LI
- First LI with a preceding comment
- Second LI with a preceding comment
- Third LI
Test :gt(0) jQuery selector.
The second and third list item in each of the following lists should be green:
- First LI
- Second LI with no preceding comment
- Third LI with no preceding comment
- First LI
- Second LI with a preceding comment
- Third LI with a preceding comment
Test :last jQuery selector.
The last list item in each of the following lists should be green:
- First LI
- Second LI
- Last LI with no following comment.
- First LI
- Second LI
- Last LI with a following comment.
Test :last-child jQuery selector.
The last list item in each of the following lists should be green:
- First LI
- Second LI
- Last LI with no following comment.
- First LI
- Second LI
- Last LI with a following comment.
Test :only-child jQuery selector.
The only list item in each of the following lists should be green:
- Only LI with no comments.