Re: Remaining Problems with Explicit :scope Switching in find/findAll

On Fri, Nov 25, 2011 at 1:08 AM, Lachlan Hunt <lachlan.hunt@lachy.id.au> wrote:
> On 2011-11-25 03:58, Tab Atkins Jr. wrote:
>> Alternately, assume that :matches() is eventually changed to allow
>> complex selectors.  Using :scope there is completely fine.
>
> I'm not sure what you mean.  The current spec for matchesSelector does allow
> complex selectors as it's defined to accept a "group of selectors"
> (selectors 3 terminology), which is equivalent to a selector list (selectors
> 4).  But :scope is still only useful when ref nodes are supplied.

Sorry for the confusion - note that I had a colon at the start of the
word, so I was referring to the Selector, not the function.  ^_^

~TJ

Received on Sunday, 27 November 2011 15:40:47 UTC