W3C home > Mailing lists > Public > www-style@w3.org > October 2003

Re: css21 sec 8.5.4 border shorthand

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sat, 18 Oct 2003 03:01:27 -0500
Message-ID: <3F90F357.90204@mit.edu>
To: Tex Texin <tex@i18nguy.com>, www-style@w3.org

Tex Texin wrote:

> In both descriptions of the border properties "value:, the color is listed as
> border-top-color instead of border-color.

Actually, this is correct, as far as I can tell.  'border-top-color' 
allows a single color value, while 'border-color' allows anywhere from 1 
to 4 color values.  The former is valid in the "border" and 
"border-top/right/bottom/left" shorthands, while the latter is not.

The choice of 'top' was arbitrary, though -- it would be just as easy to 
use any of the other sides or to define a new value set 
(<single-border-color>?) and use that in all the relevant spots.

Received on Saturday, 18 October 2003 04:01:42 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:09 UTC