W3C home > Mailing lists > Public > www-style@w3.org > March 2010

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

From: Markus Ernst <derernst@gmx.ch>
Date: Sat, 27 Mar 2010 09:55:51 +0100
Cc: www-style@w3.org
Message-ID: <20100327085551.67690@gmx.net>
To: "Tab Atkins Jr." <jackalmage@gmail.com>, brille1@hotmail.com
-------- 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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:25 GMT