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: Tue, 19 Mar 2013 16:11:41 -0400
Message-ID: <5148C67D.2040109@mit.edu>
To: www-style@w3.org
On 3/19/13 4:07 PM, Daniel Glazman wrote:
> So we need to deal with Boris's request as an errata, and do a s/some
> other element/some other node/ in the prose he quoted.
> About not selecting the root of the document, I don't see that
> as a bug since the name of the pseudo is first-*child* after all.

The root element of a document is a child of "some other node": the 
document.  So those two sentences are mutually contradictory.

I don't have a strong opinion on what behavior we want for the root 
element, but I want us to be consistent about what we want here.  ;)

Received on Tuesday, 19 March 2013 20:12:17 UTC

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