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

On 03/18/2013 12:29 PM, Boris Zbarsky wrote:
> 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;

I honestly have no idea why it was defined that way, the spec just seems
rather explicit about defining it that way. I wouldn't be opposed to a
change here, but am curious if there is any reason, other than the
semantics of the world "child", the restriction was put in place.

Maybe Tantek or glazou remember?

~fantasai

Received on Tuesday, 19 March 2013 01:53:30 UTC