[selectors] :nth-child(An+B of selector) with a pseudo element

Hi,

Currently, :nth-child() does not restrict pseudo-elements like :not() does. Shouldn’t it have the same restrictions?

For example:
    :nth-child(2n of ::after)
    :nth-child(2n+1 of ::first-letter)
do not make much sense.

Benjamin

Received on Tuesday, 16 September 2014 03:22:10 UTC