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

Re: [selectors] L4 comments

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Thu, 13 Nov 2014 10:54:16 -0500
Message-ID: <5464D428.5000105@mit.edu>
To: www-style@w3.org
On 11/13/14, 8:07 AM, Daniel Glazman wrote:
> Section 12.4.3
>
>    :first-child is
>
>      an element that precedes all of its siblings (if any)

Isn't this due to the fact that CSS operates on an abstract "element 
tree" which doesn't actually match the DOM tree, and in particular only 
contains the element nodes?

That said, I obviously welcome any movement away from that confusing 
abstraction.  ;)

-Boris
Received on Thursday, 13 November 2014 15:54:46 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:26 UTC