child-indexed-pseudo-class.html

PASSExpected57 of 57 subtests pass952 ms

Details

Test
/css/selectors/child-indexed-pseudo-class.html
Harness
OK

Subtests

StatusSubtestMessage
PASSExpected HTML element to match :first-child with matches, querySelector(), and querySelectorAll()
PASSExpected HTML element to match :last-child with matches, querySelector(), and querySelectorAll()
PASSExpected HTML element to match :only-child with matches, querySelector(), and querySelectorAll()
PASSExpected HTML element to match :first-of-type with matches, querySelector(), and querySelectorAll()
PASSExpected HTML element to match :last-of-type with matches, querySelector(), and querySelectorAll()
PASSExpected HTML element to match :only-of-type with matches, querySelector(), and querySelectorAll()
PASSExpected HTML element to match :nth-child(1) with matches, querySelector(), and querySelectorAll()
PASSExpected HTML element to match :nth-child(n) with matches, querySelector(), and querySelectorAll()
PASSExpected HTML element to match :nth-last-child(1) with matches, querySelector(), and querySelectorAll()
PASSExpected HTML element to match :nth-last-child(n) with matches, querySelector(), and querySelectorAll()
PASSExpected HTML element to match :nth-of-type(1) with matches, querySelector(), and querySelectorAll()
PASSExpected HTML element to match :nth-of-type(n) with matches, querySelector(), and querySelectorAll()
PASSExpected HTML element to match :nth-last-of-type(1) with matches, querySelector(), and querySelectorAll()
PASSExpected HTML element to match :nth-last-of-type(n) with matches, querySelector(), and querySelectorAll()
PASSExpected HTML element to not match :nth-child(0) with matches, querySelector(), and querySelectorAll()
PASSExpected HTML element to not match :nth-child(2) with matches, querySelector(), and querySelectorAll()
PASSExpected HTML element to not match :nth-last-child(2) with matches, querySelector(), and querySelectorAll()
PASSExpected HTML element to not match :nth-of-type(2) with matches, querySelector(), and querySelectorAll()
PASSExpected HTML element to not match :nth-last-of-type(2) with matches, querySelector(), and querySelectorAll()
PASSExpected DIV element to match :first-child with matches
PASSExpected DIV element to match :last-child with matches
PASSExpected DIV element to match :only-child with matches
PASSExpected DIV element to match :first-of-type with matches
PASSExpected DIV element to match :last-of-type with matches
PASSExpected DIV element to match :only-of-type with matches
PASSExpected DIV element to match :nth-child(1) with matches
PASSExpected DIV element to match :nth-child(n) with matches
PASSExpected DIV element to match :nth-last-child(1) with matches
PASSExpected DIV element to match :nth-last-child(n) with matches
PASSExpected DIV element to match :nth-of-type(1) with matches
PASSExpected DIV element to match :nth-of-type(n) with matches
PASSExpected DIV element to match :nth-last-of-type(1) with matches
PASSExpected DIV element to match :nth-last-of-type(n) with matches
PASSExpected DIV element to not match :nth-child(0) with matches
PASSExpected DIV element to not match :nth-child(2) with matches
PASSExpected DIV element to not match :nth-last-child(2) with matches
PASSExpected DIV element to not match :nth-of-type(2) with matches
PASSExpected DIV element to not match :nth-last-of-type(2) with matches
PASSExpected DIV element to match :first-child with matches, querySelector(), and querySelectorAll()
PASSExpected DIV element to match :last-child with matches, querySelector(), and querySelectorAll()
PASSExpected DIV element to match :only-child with matches, querySelector(), and querySelectorAll()
PASSExpected DIV element to match :first-of-type with matches, querySelector(), and querySelectorAll()
PASSExpected DIV element to match :last-of-type with matches, querySelector(), and querySelectorAll()
PASSExpected DIV element to match :only-of-type with matches, querySelector(), and querySelectorAll()
PASSExpected DIV element to match :nth-child(1) with matches, querySelector(), and querySelectorAll()
PASSExpected DIV element to match :nth-child(n) with matches, querySelector(), and querySelectorAll()
PASSExpected DIV element to match :nth-last-child(1) with matches, querySelector(), and querySelectorAll()
PASSExpected DIV element to match :nth-last-child(n) with matches, querySelector(), and querySelectorAll()
PASSExpected DIV element to match :nth-of-type(1) with matches, querySelector(), and querySelectorAll()
PASSExpected DIV element to match :nth-of-type(n) with matches, querySelector(), and querySelectorAll()
PASSExpected DIV element to match :nth-last-of-type(1) with matches, querySelector(), and querySelectorAll()
PASSExpected DIV element to match :nth-last-of-type(n) with matches, querySelector(), and querySelectorAll()
PASSExpected DIV element to not match :nth-child(0) with matches, querySelector(), and querySelectorAll()
PASSExpected DIV element to not match :nth-child(2) with matches, querySelector(), and querySelectorAll()
PASSExpected DIV element to not match :nth-last-child(2) with matches, querySelector(), and querySelectorAll()
PASSExpected DIV element to not match :nth-of-type(2) with matches, querySelector(), and querySelectorAll()
PASSExpected DIV element to not match :nth-last-of-type(2) with matches, querySelector(), and querySelectorAll()