Re: Supporting Scoped Selectors in Selectors API 2

On Tue, 29 Sep 2009 16:46:23 +0200, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 9/29/09 6:24 AM, Anne van Kesteren wrote:
>> I'm also not convinced this "problem" needs a special solution. If
>> JavaScript libraries want to continue to support their own magic syntax
>> they can add a very simple pre-processing step themselves. No need to
>> complicate everything because of that.
>
> Really?  As far as I can tell the "simple pre-processing step" needs to  
> be full-blown selector parsing, unless you want it to break in edge  
> cases.

Do the current Selector parsers they have handle the edge cases?

Anyway, my point is that I don't think the benefit is large enough to  
justify a custom Selector syntax just for this API.


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Tuesday, 29 September 2009 15:01:22 UTC