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

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

From: Maciej Stachowiak <mjs@apple.com>
Date: Fri, 14 Mar 2008 13:27:14 -0700
Cc: "Web APIs WG (public)" <public-webapi@w3.org>
Message-Id: <F1F015EC-5EFD-40AF-B1A0-C8B50B3BE72D@apple.com>
To: Boris Zbarsky <bzbarsky@MIT.EDU>

On Mar 12, 2008, at 12:25 PM, Boris Zbarsky wrote:

> Is there a reason why querySelector(All) is not supported on  
> DocumentFragment nodes?  It seems to me that such support could be  
> useful...  It's already supported on disconnected subtrees rooted by  
> an Element, as far as I can tell, so it doesn't seem like the  
> DocumentFragment case would be all that different.

I'd have no objection to supporting these methods on DocumentFragment  
too, although it does not seem terribly important.

I think ability to do element-rooted selector queries (either through  
a new method or a :scope pseudo-element) is more important, since it's  
needed to replicate the feature set of JS query libraries.

Received on Friday, 14 March 2008 20:28:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:25 UTC