- From: Anne van Kesteren <annevk@opera.com>
- Date: Sat, 15 Mar 2008 09:40:33 +0100
- To: "Boris Zbarsky" <bzbarsky@mit.edu>
- Cc: "Web APIs WG (public)" <public-webapi@w3.org>
On Sat, 15 Mar 2008 00:30:52 +0100, Boris Zbarsky <bzbarsky@MIT.EDU> wrote:
> 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?
No, I guess you're right. With <style scoped> it would match the subtree
root element as well though (parent of <style>), but I suppose that case
is slightly different anyway.
--
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Saturday, 15 March 2008 08:40:32 UTC