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

Re: [selectors-api] Why have two identical differently named interfaces?

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 14 Mar 2008 10:49:41 +0100
To: "Web APIs WG (public)" <public-webapi@w3.org>
Message-ID: <op.t7z2w3sv64w2qv@annevk-t60.oslo.opera.com>

On Fri, 14 Mar 2008 01:18:27 +0100, Maciej Stachowiak <mjs@apple.com>  
> Maybe the best solution would be to add a :scope pseudo-element which is  
> the target of the querySelectorAll call if not called on the document.  
> That would allow old-school JS library semantics just by prepending  
> ":scope ".

:scope would also be nice for HTML5 <style scoped>.

Anne van Kesteren
Received on Friday, 14 March 2008 09:49:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 14 March 2008 09:49:44 GMT