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

Opera's Proposal for :context Selector

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Thu, 10 Jul 2008 22:03:45 +0200
Message-ID: <48766B21.2050700@lachy.id.au>
To: www-style <www-style@w3.org>

   This is a proposal for a new :context pseudo-class designed to match 
the context node of a query, where the the scope of elements that match 
a given Selector is constrained to be within a subtree rooted by a 
particular node.

This proposal has been developed based on work within the Web 
Application Working Group.  It has been designed primarily for use with 
Selectors API to meet the needs of JavaScript libraries such as JQuery 
and Dojo, but is also suitable for use with scoped stylesheets in HTML5.

I am prepared to be the editor of this specification and, if necessary, 
join the CSS WG in order to do so, or it could be worked on within the 
WebApps WG under advise from the CSS WG.

The proposal can be found here:


Lachlan Hunt - Opera Software
Received on Thursday, 10 July 2008 20:04:25 UTC

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