On Sun, Jan 10, 2010 at 11:40 PM, Boris Zbarsky <bzbar...@mit.edu> wrote:
> On 1/11/10 1:24 AM, Sean Hogan wrote:
>>
>> That's correct. jQuery's $(element).find("div") is the equivalent of
>> SelectorsAPI2's element.querySelectorAll(":scope div") or
>
> So in fact jquery can simply implement Element.find in terms of
> querySelectorAll by just prepending ":scope " to the selector string, right?

Not if the selector contains a ",". Consider:

$(element).find("div, p")

/ Jonas

Reply via email to