  Re: Supporting Scoped Selectors in Selectors API 2  From: Tab
Atkins Jr. <jackalmage@gmail.com> Date: Mon, 28 Sep 2009
17:09:16 -0500 Message-ID:
<dd0fbad0909281509h233844a4q30e35b01c0ca2ee3@mail.gmail.com> To:
Lachlan Hunt <lachlan.hunt@lachy.id.au> On Mon, Sep 28, 2009 at
3:59 PM, Lachlan Hunt <lachlan.hunt@lachy.id.au> wrote: >
fantasai wrote: >> I will also note that the use of ! has been
proposed for other things, >> and I would strongly prefer if
your API did not introduce any new >> punctuation into the
Selectors syntax. > The point is that in order to solve the
problem, we need some kind of > indicator to say that this is a
scoped selector.  The problem with it as written, though, is
that you're *only* using it in a single case, when you're trying
to do a scoped selector that starts with the descendant
combinator.  This makes it very likely that it will be
overlooked, and authors will accidentally forget to use it when
needed.  Even worse, it's likely that they won't ever notice it
breaking from the