On Sat, 15 Mar 2008 00:30:52 +0100, Boris Zbarsky <[EMAIL PROTECTED]> 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/>

Reply via email to