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

Re: Name for default value of border-color needed

From: Tantek Celik <tantek@cs.stanford.edu>
Date: Wed, 22 Sep 1999 13:10:29 -0700
To: "L. David Baron" <dbaron@fas.harvard.edu>, cwilso@MICROSOFT.com, dbaron@fas.harvard.edu, www-style@w3.org
Message-ID: <1274091465-337416015@psdbay.com>
> 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).

Received on Wednesday, 22 September 1999 16:11:14 UTC

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