- From: Jonas Sicking <jonas@sicking.cc>
- Date: Mon, 11 Jan 2010 00:17:53 -0800
- To: Boris Zbarsky <bzbarsky@mit.edu>
- Cc: Sean Hogan <shogun70@westnet.com.au>, Lachlan Hunt <lachlan.hunt@lachy.id.au>, public-webapps <public-webapps@w3.org>
On Sun, Jan 10, 2010 at 11:40 PM, Boris Zbarsky <bzbarsky@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
Received on Monday, 11 January 2010 08:18:46 UTC