Test selector E:nth-child(n of S) and E:nth-last-child(n of S)

Issues: Chrome #304163, Firefox #854148



CSS :nth-child(2n of [foo])

JavaScript :nth-child(2n of [foo])

Expected result