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: Fri, 14 Mar 2008 18:30:52 -0500
Message-ID: <47DB0AAC.3010202@mit.edu>
To: Anne van Kesteren <annevk@opera.com>
CC: "Web APIs WG (public)" <public-webapi@w3.org>

Anne van Kesteren wrote:
> If :scope needs to work matching in implementations might need to change 
> by the way. Currently matching is only against the subtree. So 
> <div>.querySelector("div") would only match descendant <div> elements.

I see no reason for this to change with :scope introduced, to be honest.  Am I 
missing something?

-Boris
Received on Friday, 14 March 2008 23:31:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 14 March 2008 23:31:52 GMT