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>
Hi,

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.

Rationale:

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.

regards,
-- 
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:10 GMT