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: Øyvind Stenhaug <oyvinds@opera.com>
Date: Wed, 20 Mar 2013 14:25:30 +0100
To: "Daniel Glazman" <daniel.glazman@disruptive-innovations.com>, "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: "www-style list" <www-style@w3.org>
Message-ID: <op.wt8x8sgtbunlto@oyvinds-desktop>
On Tue, 19 Mar 2013 21:27:52 +0100, Tab Atkins Jr. <jackalmage@gmail.com>  

> I don't see a meaningful distinction between a root node and a node
> without a parent in a DocumentFragment.

Maybe the latter should match :root, then? Then it would be possible to  
select for it explicitly (and do a union with :first-child or whatever),  
if desired. See also  

Øyvind Stenhaug
Opera Software ASA
Received on Wednesday, 20 March 2013 13:26:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:27 UTC