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

Re[2]: Color on non-text content in CSS3

From: Chris Lilley <chris@w3.org>
Date: Fri, 22 Mar 2002 20:21:07 +0100
Message-ID: <13523745203.20020322202107@w3.org>
To: "Stark, Peter N" <Peter.N.Stark@sonyericsson.com>
CC: www-style@w3.org
On Friday, 22 March, 2002, 15:20:25, Peter wrote:

SPN> Would it be considered an error according to the CSS2 spec. if
SPN> the following generated red radio buttons?

SPN>         <input type="radio" style="color:red" />

Hmm so the radio button and its associated text were both red? I would
say that the color of the radio button is unspecified and making it the
same color as the associated text is as good a color as any.

In SVG,we dealt with this situation by having a property value 'currentColor' so one could say

selector goes here { fill: currentColor }

which provides a way to style things taking into account the value of
the color property. One way to consider things is that the UA
stylesheet does this, but the selector to select the radio buttons and
the property that sets their color is unknown; just the value of the
property.

-- 
 Chris                            mailto:chris@w3.org
Received on Friday, 22 March 2002 14:40:20 GMT

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