W3C home > Mailing lists > Public > www-style@w3.org > October 2007

Re: CSS3-selectors: Pseudo Elements only once or multiple times per selector?

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 22 Oct 2007 16:10:57 +0200
To: Ludger Bünger <ludger.buenger@realobjects.com>, www-style@w3.org
Message-ID: <op.t0lq0jly64w2qv@annevk-t60.oslo.opera.com>

On Mon, 22 Oct 2007 15:55:46 +0200, Ludger Bünger  
<ludger.buenger@realobjects.com> wrote:
> The reason I ask is because  
> http://www.w3.org/TR/2001/WD-css3-selectors-20010126/#gen-content then  
> contradicts to the above said:
>
> "When the ::first-letter and ::first-line pseudo-elements are combined  
> with ::before and ::after, they apply to the first letter or line of the  
> element including the inserted text."
>
> Where is the mistake?

That's more about the interaction between p::first-line { color:lime }   
and p::before { content:"TEST" }.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Monday, 22 October 2007 14:10:50 GMT

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