On Fri, Nov 9, 2012 at 12:14 PM, Lea Verou <lea@w3.org> wrote: > Sounds like this would be solved by the :nth-match() pseudo-class [1] in > Selectors 4. Specifically, the selector in your example would be > li:nth-match(7 of li) or just :nth-match(7 of li). > > [1]: http://www.w3.org/TR/selectors4/#the-nth-match-pseudo As Brian points out, this might not be quite right. :nth-match() selects the nth match *among siblings*, not across the document or subtree. It's just a more powerful :nth-of-type(), which is a more powerful :nth-child(). ~TJReceived on Tuesday, 13 November 2012 18:19:03 UTC
This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:23 UTC