Re: Opera's Proposal for :context Selector

Brad Kemper wrote:
> On Jul 13, 2008, at 3:59 PM, Lachlan Hunt wrote:
>> foo.querySelector(":context div div")
> 
> But wouldn't (or couldn't) that second one be the same as this:
> 
> foo.querySelector(":root div div")
> 
> Then the first one would include divs that were ancestors and/or 
> descendants of the "foo" fragment.

No.  I already clearly explained several times why :root cannot and will 
not be redefined.

http://lists.w3.org/Archives/Public/www-style/2008Jul/0197.html
http://lists.w3.org/Archives/Public/www-style/2008Jul/0203.html
http://lists.w3.org/Archives/Public/www-style/2008Jul/0221.html

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/

Received on Monday, 14 July 2008 07:22:04 UTC