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

Re: ACTION-87: Selectors API

From: Daniel Schierbeck <daniel.schierbeck@gmail.com>
Date: Sat, 25 Feb 2006 19:23:33 +0100
Message-ID: <4400A0A5.3020205@gmail.com>
To: Anne van Kesteren <annevk@opera.com>
CC: "Web APIs WG (public)" <public-webapi@w3.org>

Anne van Kesteren wrote:
> Hi all,
>
> During the F2F I got an action assigned to me to draft something up 
> for getElementsBySelector(). Basically a method that would take a 
> selector[1] as argument and return a (static) list of elements. In the 
> current draft (attached) there is also an optional second argument 
> that takes an XPathNSResolver as argument. Might be a bit funny to see 
> things from the XPath API being reused in the one for Selectors, but 
> it seemed like the best and easiest solution.
>
> It is not clear at all if the WG will pursue working on this. Probably 
> depends on community input and if we think it's worth it. Now there is 
> at least something to discuss about.
>
> Cheers,
>
> Anne
>
>
> [1]<http://www.w3.org/TR/css3-selectors/>
I've some more input, but I thought it would be better if I sent it in a 
separate message.

Would it be possible that getElementsBySelector() could accept a hash as 
a second argument, as well as an XPathNSResolver, or would that be up to 
the individual DOM implementation?


Cheers,
Daniel
Received on Saturday, 25 February 2006 18:23:45 GMT

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