W3C home > Mailing lists > Public > www-style@w3.org > July 2015

Re: [selectors][css-syntax] Allow comma-separated lists of An+B?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 13 Jul 2015 12:34:57 -0700
Message-ID: <CAAWBYDCu8ijerj4bzPVQ=x=_e4S4SvgjOdG9rv=6v9Bdu3n-ow@mail.gmail.com>
To: "Markus A.O. Loponen" <codewallah@gmail.com>
Cc: www-style list <www-style@w3.org>
On Tue, Jun 23, 2015 at 12:12 AM, Markus A.O. Loponen
<codewallah@gmail.com> wrote:
> I appreciate that a long list of (possibly conflicting) nth-patterns may
> result in complex parsing.  With integers only, I imagine it should be dead
> simple. To eliminate the need to look for lists in each nth-pseudo, the
> following list syntax could be used: td:nth-of-type( [1,4,6,9,11] ).

Actually, that's not a terrible idea.

~TJ
Received on Monday, 13 July 2015 19:35:45 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:52:18 UTC