W3C home > Mailing lists > Public > www-style@w3.org > July 2008

Re: Opera's Proposal for :context Selector

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Sat, 12 Jul 2008 23:05:30 +0200
Message-ID: <48791C9A.4080202@lachy.id.au>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: www-style <www-style@w3.org>

Bjoern Hoehrmann wrote:
> Could you explain why those other specifications are a concern at all,
> and you can't just say the :context pseudo-class matches an element if
> and only if some other specification identifies it as the context ele-
> ment in a given selector evaluation context?

Only because I didn't think of doing it in that way.  I have written a 
revised version based on your suggestions.  It will now require both 
Selectors API and HTML5 to eventually define which element is the 
context element, which won't be difficult if this proposal is accepted.

http://lists.w3.org/Archives/Public/www-archive/2008Jul/att-0023/Overview.html

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/
Received on Saturday, 12 July 2008 21:06:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:10 GMT