W3C home > Mailing lists > Public > www-validator-css@w3.org > July 2005

Errors parsing border property?

From: Robert Marcano <robert@marcanoonline.com>
Date: Mon, 18 Jul 2005 10:23:39 -0400
To: www-validator-css@w3.org
Message-Id: <1121696619.3196.9.camel@tprobert.intranet.promca.com>

I have found a rare error when checking my CSS.. if you go to:


The validator will say the CSS is correct, but it is showing a different
property value on one line:

the original CSS says

..rm-postcomment  {
  border : 1px dashed transparent;

the validator shows

..rm-postcomment  {
  border : 1px dashed inherit;

when using the referer method to check the CSS (from my site
http://www.marcanoonline.com/plog/ follow the CSS link at the bottom) an
error is found:

Line: 261 Context : .rm-postcomment  

Invalid number : border Too many values or values are not recognized :
1px dashed transparent

apparently the problem here is the "transparent" color value, but the
CSS 2.1 spec refer to the "border-top-color" property:


and it allows transparent. I use this transparent border to leave a 1px
space where a non transparent border will be show when the element is in
hover state, and it works in Mozilla based browsers

Robert Marcano
web: http://www.marcanoonline.com/

gpg --keyserver hkp://pgp.mit.edu/ --recv-key 72A0DCFD
Received on Tuesday, 19 July 2005 04:38:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:41 UTC