djinodji / fizzler

Automatically exported from code.google.com/p/fizzler
GNU General Public License v3.0
0 stars 0 forks source link

Support nth-last-child pseudo-class selector #27

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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:

GoogleCodeExporter commented 8 years ago

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

GoogleCodeExporter commented 8 years ago
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