Re: [selectors] L4 comments

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