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: Tue, 23 Mar 2010 08:19:58 -0700
Message-ID: <dd0fbad1003230819nbc2d235ob9a5788670ec8137@mail.gmail.com>
To: "A.D." <brille1@hotmail.com>
Cc: www-style@w3.org
On Tue, Mar 23, 2010 at 5:38 AM, A.D. <brille1@hotmail.com> wrote:
> Hello,
>
> in the current WD on CSS3 Lists I am missing a list-style-type of <string>.
>
> It doesn't seem to be easily possible to create lists with any arbitrary
> character (sequence), e.g.:
>
>  * foo
>  * bar
>
> or
>
>  » foo
>  » bar
>
>
> So I'd like to suggest to expand the list-style-type property definition to:
>
>   <glyph>  | <algorithmic>  | <numeric>  | <alphabetic>  | <symbolic>  |
> <non-repeating>  | <string>  | normal | none
>
>
> For an existing discussion, please refer to:
> http://groups.google.com/group/comp.infosystems.www.authoring.stylesheets/browse_thread/thread/03ff6de0d927515e
>
> I'd prefer to continue the discussion there, preventing e-mail inbox
> overflow.

Once everyone properly supports the existing ::marker pseudoelement
and content properties, you can do this without any special
intervention:

li::marker {
  content: "»";
}

~TJ
Received on Tuesday, 23 March 2010 15:20:50 GMT

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