W3C home > Mailing lists > Public > public-webapi@w3.org > March 2008

Re: [selectors-api] Why no querySelector(All) on DocumentFragments?

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 12 Mar 2008 16:48:32 -0500
Message-ID: <47D84FB0.4040408@mit.edu>
To: Lachlan Hunt <lachlan.hunt@lachy.id.au>
CC: "Web APIs WG (public)" <public-webapi@w3.org>

Lachlan Hunt wrote:
> Yes, that is the correct behaviour.  It should indeed match any element 
> in the element's subtree, regardless of whether or not that element is 
> in a document.  I thought the spec was clear enough on that issue already.

The spec never defines the term "match", for what it's worth.  So no, 
this part isn't really clear.

I do agree this is the right behavior though, hence my question about 
DocumentFragment.

-Boris
Received on Wednesday, 12 March 2008 21:48:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 12 March 2008 21:48:57 GMT