[whatwg] getElementsBySelector etc

Ian Hickson ian at hixie.ch
Fri Sep 30 10:30:09 PDT 2005

On Mon, 19 Sep 2005, Erik Arvidsson wrote:
> interface GetElementsBySelector {
>   NodeList getElementsBySelector(in DOMString cssSelector);
>   // returns true if an element matches the given CSS selector
>   boolean matchesSelector(in Element el, in DOMString cssSelector);
> }

I agree that these would be useful. The former is even mentioned in the 
WA1 draft at the moment. However, it seems to me that this would be more 
in the realm of the CSSWG rather than the WHATWG.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list