RE: Name for default value of border-color needed

Could you explain why the DOM necessitates a name for the default color?

-----Original Message-----
From: L. David Baron [mailto:dbaron@fas.harvard.edu]
Sent: Wednesday, September 22, 1999 11:42 AM
To: www-style@w3.org
Subject: Name for default value of border-color needed



Because of the DOM, there is a need for an explicit name for the
default value of the border-color property.  This would also be useful
on its own.  There is no possible value to return for
getPropertyValue("border-color") [1] of a ruleset containing "border:
medium solid", since this value is not expressable on its own.

There should be a keyword such as 'use-color' or 'default' that is
equivalent to the default value of the border-color property [2].  This
change should be an erratum to CSS2 since the DOM Level 2 is being
based on CSS2.

David

[1] <URL:http://www.w3.org/TR/1999/WD-DOM-Level-2-19990719/css.html
    #Level2-CSS-CSSStyleDeclaration-getPropertyValue>
[2] http://www.w3.org/TR/REC-CSS2/box.html#border-color-properties

Received on Wednesday, 22 September 1999 15:29:07 UTC