atifaziz/Fizzler

Support nth-of-type pseudo-class selector

atifaziz opened this issue · 1 comments

What new or enhanced feature are you proposing?

The :nth-of-type(an+b) pseudo-class notation represents an element that has a n + b - 1 siblings with the same expanded element name before it in the document tree, for a given zero or positive integer value of n, and has a parent element. In other words, this matches the bth child of that type after all the children of that type have been split into groups of a elements each.

What goal would this enhancement help you achieve?

Greater CSS Selectors Level 3 compliance.

For more information, see:
http://www.w3.org/TR/css3-selectors/#nth-last-child-pseudo


Originally reported on Google Code with ID 28

Reported by @atifaziz on 2009-05-14 23:42:23

Patch attached.


Reported by edin.dazdarevic on 2010-10-29 07:37:19