W3C home > Mailing lists > Public > www-style@w3.org > September 2009

Re: Supporting Scoped Selectors in Selectors API 2

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 29 Sep 2009 17:00:43 +0200
To: "Boris Zbarsky" <bzbarsky@mit.edu>
Cc: www-style <www-style@w3.org>
Message-ID: <op.u00xbhbp64w2qv@annevk-t60>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:21 GMT