W3C home > Mailing lists > Public > www-style@w3.org > March 2013

Re: [selectors] Matching of :first-child and the like for elements whose parent is not an element

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 18 Mar 2013 15:29:20 -0400
Message-ID: <51476B10.90905@mit.edu>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: www-style list <www-style@w3.org>
On 3/18/13 3:26 PM, Tab Atkins Jr. wrote:
> fantasai says this was indeed purposeful, and letting them match the
> root doesn't really buy you anything in a normal document

Agreed; what I was asking is whether excluding the DocumentFragment case 
was purposeful.

> I think we should change to at least allow it in that case.

Personally, I do too.

-Boris
Received on Monday, 18 March 2013 19:29:48 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:07 GMT