Re: CSS3: Suggestion for another list-style-type

-------- Original-Nachricht --------
> Datum: Fri, 26 Mar 2010 17:00:04 -0700
> Von: "Tab Atkins Jr." <jackalmage@gmail.com>

> On Fri, Mar 26, 2010 at 4:03 PM, Axel Dahmen <brille1@hotmail.com> wrote:
> 
> > What if list-style-type defines any of the <numeric> or <algorithmic>
> > values? What about ::marker then?
> 
> ::marker only pays attention to list-style-type when it has
> content:normal (which is the default).  If you explicitly set content
> to something else, it uses that instead.

A rather similar situation is possible already if you set an inappropriate list-style-type for the list-tag you chose:

ul {
  list-style-type:decimal;
}

The spec should state in those cases which declaration has precedence. And it might be helpful for authors to display warnings in CSS validators (and in UA's error consoles), if this kind of ambiguities occur in the code.
-- 
GMX DSL: Internet, Telefon und Entertainment für nur 19,99 EUR/mtl.!
http://portal.gmx.net/de/go/dsl02

Received on Saturday, 27 March 2010 08:56:28 UTC