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

Re: [selectors] Need to clearly define matching for :first-child, :nth-*, etc

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Wed, 15 Jul 2015 21:19:08 +0200
To: www-style@w3.org
Message-ID: <55A6B22C.802@disruptive-innovations.com>
On 15/07/2015 21:09, Daniel Glazman wrote:

> :first-child() is explicitely defined in Selectors 3 section
> 6.6.5.6 as the "same as :nth-child(1) so it should match on an element
> without a parent either.

Wow, I'm tired. Please of course read "it should not match on".

</Daniel>
Received on Wednesday, 15 July 2015 19:19:33 UTC

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