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
Received on Tuesday, 29 September 2009 15:01:22 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:39 UTC