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

Re: Name for default value of border-color needed

From: Kishore Kulkarni <kulkarni@pathcom.com>
Date: Wed, 22 Sep 1999 21:12:36 -0400
Message-ID: <008c01bf0560$b9fe18e0$6491fad1@kulkarni.pathcom.com>
To: "Tantek Celik" <tantek@cs.stanford.edu>, "L. David Baron" <dbaron@fas.harvard.edu>, <cwilso@MICROSOFT.com>, <www-style@w3.org>
Kartik is not on this email anymore.  Please do not send any mail to
kulkarni@pathcom.com

-----Original Message-----
From: Tantek Celik <tantek@cs.stanford.edu>
To: L. David Baron <dbaron@fas.harvard.edu>; cwilso@MICROSOFT.com
<cwilso@MICROSOFT.com>; dbaron@fas.harvard.edu <dbaron@fas.harvard.edu>;
www-style@w3.org <www-style@w3.org>
Date: Wednesday, September 22, 1999 4:18 PM
Subject: Re: Name for default value of border-color needed


>> Now, suppose the above rule is instead:
>>
>> DIV {
>>   border: medium solid;
>>   }
>>
>> The first two statements above are still true.  However, the following
>> must equal something (and it shouldn't be the empty string because that
>> means the property was not set in the ruleset):
>>
>> rs.style.getPropertyValue("border-color")
>
>No, empty is exactly correct.  Not setting the border-color means that the
>border gets its color from the 'color' property.
>
>And yes, that does mean that the property was not set in the ruleset which
>is also correct (unlike background and font which reset unspecified
>elemental properties to initial values).
>
>Tantek
>
>
Received on Wednesday, 22 September 1999 21:06:19 GMT

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