Re: ACTION-87: Selectors API

Cameron McCormack wrote:
> Ian Hickson:
>> * IMHO the method should not raise an exception when the selector contains 
>> a pseudo-element. It should would return an empty list.
> 
> What is wrong with something like 'svg|g > *:first-child'?  That could
> still match an element, so it should be in the returned NodeList.

:first-child is a pseudo-class, not a pseudo-element.

-- 
Lachlan Hunt
http://lachy.id.au/

Received on Sunday, 26 February 2006 00:59:38 UTC