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.


Lachlan Hunt - Opera Software
Received on Saturday, 12 July 2008 21:06:09 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:38 UTC