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

Re: Color on non-text content in CSS3

From: Rijk van Geijtenbeek <rijk@iname.com>
Date: Fri, 22 Mar 2002 16:24:29 +0100
Message-ID: <18523526538.20020322162429@iname.com>
To: www-style@w3.org
Hello Chris,

On Friday, March 22, 2002 you wrote:

> On Friday, 22 March, 2002, 09:23:27, Peter wrote:

SPN>> I find no CSS3 property to put color on non-textual content such
SPN>> as form controls and list bullets. The 'color' property I think
SPN>> is for text content only.

> That is its definition, yes. That is why SVG moved from using the
> color property for graphical objects, to using its own fill and stroke
> properties.

> Arguably, list bullets are text, and are generated content of the list
> element. Thus, a list with red bbullets and green list items can be
> made by setting color to red on the list container and green on the
> list items.

I think the bullets are generated content of the list-item, and the
browsers seem to agree, as this trick to get differently colored
bullets doesn't work in practice.

> For additional control over form widgets, see
>   http://www.w3.org/TR/css3-userint

 Rijk                            mailto:rijk@iname.com

Mot du Jour:
A day without radiation is a day without sunshine.
Received on Friday, 22 March 2002 10:19:51 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:01 UTC