usametov/fizzler

Support nth-last-child pseudo-class selector

Closed this issue · 4 comments

What new or enhanced feature are you proposing?

The :nth-last-child(an+b) pseudo-class notation represents an element that
has an+b-1 siblings after it in the document tree, for a given positive
integer or zero value of n, and has a parent element.

What goal would this enhancement help you achieve?

Greater CSS Selectors Level 3 compliance.


Original issue reported on code.google.com by azizatif on 14 May 2009 at 11:39

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

Original comment by azizatif on 14 May 2009 at 11:43

Hi Aziz,

I have created the implementation of nth-last-child pseudo-class selector. The 
patch is attached. 

I really like the library and would love to see fizzler to get to 1.0 version. 
I'll try to implement the other selectors very soon. 

If you have any comments please let me know. 

Edin 

Original comment by edin.daz...@gmail.com on 4 Oct 2010 at 8:48

Attachments:

Original comment by azizatif on 6 Oct 2010 at 11:11

  • Changed state: Started
Implemented in r265.

@edin.dazdarevic Thanks for the patch, edin and looking forward to other 
submissions!

Original comment by azizatif on 6 Oct 2010 at 11:18

  • Changed state: Fixed