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

Re: 'list-style-image' and 'content' of ::marker

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 15 Jun 2007 11:08:23 -0400
Message-ID: <4672AB67.3030504@inkedblade.net>
To: www-style@w3.org

Dmitry Turin wrote:
> Good day.
> 
> Are there conflict between two following definitions in one css-file ?
> 
> list-style-image: url ("a.gif");
> ::marker {
>   content: url ("b.gif");
> 
>   
> If yes, how this conflict is solving ?

I believe the ::marker rule takes precedence.
The list-style-image becomes ::marker's content when
'content: normal', but we have overridden that value
with 'url(b.gif)'.

See
   http://www.w3.org/TR/css3-content/#normal1

~fantasai
Received on Friday, 15 June 2007 15:08:32 GMT

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