Re: [selectors-api] QSA and findAll definitions

On 6/9/13 7:35 PM, Timmy Willison wrote:
> I was a little confused. I realized something I already knew in that
> elem.querySelector[All] does limit the matched set to the descendants of
> element

Right. But find() does not, for what it's worth, depending on the exact 
selector used.  It can return sublings of the context object, for 
example, as far as I can tell.  Hence the wording difference.

-Boris

Received on Monday, 10 June 2013 01:18:38 UTC