RE: New version of the Selectors module of CSS3

Hi Ian, Jonas,

> > STRUCTURAL PSEUDO-CLASSES
> >
> > I propose the following list of pseudo-classes. They are largely based on
> > the :nth-child and related pseudos in the current draft, but have been
> > made more useful, more generic, and more consistent with each other.
[ snip ]

This seems a great idea.  There just seems to be one thing lacking
(maybe I'm missing something).

How would one format alternating blocks of n elements with this scheme?
(Using either syntax)  I can see a desire to do something like

TR:child(1,6,3) /* address first three of six */
TR:child(2,6,3) /* address second three of six */

to have alternating bands of equal size.  (I'll leave you to improve
the syntax; this was just an omission which jumped out at me).

Cheers,

Ian
--
IndigoVision Ltd                 http://www.indigovision.com/
The Edinburgh Technopole,  Bush  Loan,  Edinburgh,  EH26  0PJ
Tel: [+44] (0)131 475 7200         Fax: [+44] (0)131 475 7201
Personal: ian@scottishdance.net  http://www.scottishdance.net
        Feed the world: http://www.thehungersite.com/

Received on Friday, 6 October 2000 07:22:07 UTC