W3C home > Mailing lists > Public > www-style@w3.org > February 2014

Re: [CSSWG] Minutes Seattle F2F Wed 2014-01-29 AM I: Page Selectors and Groups, CSS2.1, Region Styling

From: Brad Kemper <brad.kemper@gmail.com>
Date: Sat, 22 Feb 2014 07:57:43 -0800
Message-Id: <7E6142F7-82B0-4636-84AE-55D6D8E5A1E0@gmail.com>
Cc: "www-style@w3.org" <www-style@w3.org>
To: fantasai <fantasai.lists@inkedblade.net>


> On Feb 19, 2014, at 4:18 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
> 
>  <dbaron> A:nth-page(1) being nth within the context of A isn't how
>           selectors normally work...
>  <fantasai> right, I think that's a syntactic mistake
>  <fantasai> it's like expecting foo:nth-child(even) to select every
>             other "foo"
>  <fantasai> but we're solving that with :nth-child(even of foo), maybe
>             we could tweak the syntax here similarly

There is also nth-of-type, which could be extended to say that the "type" here is a page, not an element name. It is simpler than the 'of foo' construction, which seems mostly useful for when foo is a more complicated selector.
Received on Saturday, 22 February 2014 15:58:19 UTC

This archive was generated by hypermail 2.3.1 : Saturday, 22 February 2014 15:58:23 UTC