W3C home > Mailing lists > Public > www-style@w3.org > January 2006

Re: "::inside" Pseudo-Element

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 03 Jan 2006 12:49:19 +0100
To: "Matthew Raymond" <mattraymond@earthlink.net>, HeroreV <herorev@yahoo.com>
Cc: www-style@w3.org
Message-ID: <op.s2swghpg64w2qv@id-c0020.lan>

On Tue, 03 Jan 2006 11:59:25 +0100, Matthew Raymond  
<mattraymond@earthlink.net> wrote:
>    Better idea:
>
> | p.special { /* Fallback styling */ }
> | p.special::outside { /* Outer stying */ }
> | p.special::outside > * { /* Inner stying */ }

This last rule violates Selectors. Note also that ::outside inherits its  
properties from the element it is bound to, not the other way around.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Tuesday, 3 January 2006 11:49:32 GMT

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