W3C home > Mailing lists > Public > www-style@w3.org > September 2001

Proposal: list-item-color

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 28 Sep 2001 22:42:04 +0200
To: www-style@w3.org
Cc: howcome@opera.com
Message-ID: <l5m9rtojvlnftd0a8rkku7iedddou7q5tg@4ax.com>

The list-item-color property

  Name:            list-item-color
  Value:           <color> | inherit | attr(X,color)
  Initial:         depends on user agent
  Applies to:      elements with 'display: list-item'
  Inherited:       yes
  Percentages:     N/A
  Media:           visual
  Computed value:  specified value (except for 'inherit')

This property sets the color that will be used for the list item marker.


It is currently not possible to control the color of list item markers
in CSS, you only have control over the overall list item color, i.e. the
list item marker and the list item text. It is only possible to define
some image in place of some predefined marker. The list-style-type
however already allows very rich markers and some of them aren't
expressable through images, e.g. all of them that are autogenerated by
some counter. I therefore propose a new property, that enables authors
to control the color of the list item.

Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/
Received on Friday, 28 September 2001 16:42:51 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:59 UTC