- From: L. David Baron <dbaron@dbaron.org>
- Date: Sun, 4 Jul 2010 13:17:36 -0700
- To: Anton Prowse <prowse@moonhenge.net>
- Cc: www-style@w3.org
On Sunday 2010-07-04 21:59 +0200, Anton Prowse wrote:
> That's what you need my hypothetical :nth-of-specialized-kind
> pseudo-class ;-)
> 
> :nth-of-specialized-kind(odd, img[src*="photo") {
> 	[...]
> }
If we ever do have a selector like this, I'd suggest calling it just
:nth-of().  For example: ':nth-of(odd, img[src*="photo"])', or
perhaps (with the arguments the other way around)
':nth-of(img[src*="photo"], odd)'.
-David
-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Sunday, 4 July 2010 20:22:06 UTC