Re: [selectors-api] Summary of Feature Requests for v2

Garrett Smith wrote:
> QuerySelector could be extended to have properties:
>    readonly attribute boolean valid
>    StaticNodeList match(in HTMLElement contextNode)

What's the valid property for?  It seems redundant.  If the selector 
isn't valid, then the factory method should throw an error when it tries 
to create it.  Otherwise, it will be valid.

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/

Received on Thursday, 24 September 2009 08:40:22 UTC