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 22:48:08 +0200
Message-ID: <48791888.4030401@lachy.id.au>
To: Francois Remy <fremycompany_pub@yahoo.fr>
Cc: www-style <www-style@w3.org>

Francois Remy wrote:
> 
> I much prefer something like :
> 
>    selector1 {
>        @rule selector2 { // or @me or @context or somewhat else
>            ...
>        }
>    }
> 
> Similar to :
> 
>    selector1 selector2 {
>        ...
>    }

The syntax of your proposal is not suitable for addressing the Selectors 
API use cases.  The methods are only able to accept a sequence of simple 
selectors, not at-rules.

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/
Received on Saturday, 12 July 2008 20:51:16 GMT

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