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

RE: Name for default value of border-color needed

From: Chris Wilson <cwilso@MICROSOFT.com>
Date: Wed, 22 Sep 1999 12:04:46 -0700
Message-ID: <C35556591D34D111BB5600805F1961B90C311ABC@RED-MSG-47>
To: "'L. David Baron'" <dbaron@fas.harvard.edu>, www-style@w3.org
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 GMT

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