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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 24 Mar 2010 08:31:34 -0700
Message-ID: <dd0fbad1003240831k76d09b6dhb2ebce9261f382fd@mail.gmail.com>
To: Axel Dahmen <brille1@hotmail.com>
Cc: www-style@w3.org
On Tue, Mar 23, 2010 at 4:46 PM, Axel Dahmen <brille1@hotmail.com> wrote:
>> Once everyone properly supports the existing ::marker pseudoelement
>> and content properties, you can do this without any special
>> intervention:
>>
>> li::marker {
>>  content: "»";
>> }
>
>
> I see... From new discussion in the newsgroup I read that the above rule
> would be insufficient. It was said to be:
>
> ul
>  {list-style-type: none;
>  }
>
> li::marker
>  {content: "»";
>  }
>
> What is correct then?

It doesn't look like that *should* be necessary.  If it is, I'd chalk
it up to a buggy implementation.  (In fact, I suspect that in a
non-buggy implementation that would simply hide the marker entirely.)

> Still, wouldn't it be more appropriate to allow <string> values for the
> list-style-type property? Why separating this value from all the other
> predefined values allowed on list-style-type?

It's certainly possible.  I was just pointing out that it wasn't necessary.

~TJ
Received on Wednesday, 24 March 2010 15:34:22 GMT

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