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

On 12/03/2008, Boris Zbarsky <bzbarsky@mit.edu> 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.

As a disconnected node would not be in the node tree from document,
can it match a query at all? I mean, the current way this is defined
selector queries are meant to be document-rooted, right? I imagine the
same is the case for DocumentFragment or node trees in Entity nodes.
-- 
David "liorean" Andersson

Received on Wednesday, 12 March 2008 20:24:31 UTC