W3C home > Mailing lists > Public > www-style@w3.org > October 2000

RE: New version of the Selectors module of CSS3

From: Ian Brockbank <i.brockbank@indigovision.com>
Date: Fri, 6 Oct 2000 05:57:56 -0400 (EDT)
Message-ID: <c=US%a=_%p=Indigo_Active_Vi%l=CRIANLARICH-001006095310Z-1145@crianlarich.indigo-avs.com>
To: "'www-style@w3.org'" <www-style@w3.org>
Hi Ian, Jonas,

> >
> > 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).


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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:55 UTC