W3C home > Mailing lists > Public > public-webapi@w3.org > February 2006

Re: ACTION-87: Selectors API

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Sun, 26 Feb 2006 11:58:42 +1100
Message-ID: <4400FD42.6010300@lachy.id.au>
To: "Web APIs WG (public)" <public-webapi@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:53 GMT