W3C home > Mailing lists > Public > www-validator-css@w3.org > December 2006

CSS validator bugs

From: Matt Bower <mbower@learningchange.com>
Date: Mon, 4 Dec 2006 14:20:47 -0800
To: www-validator-css@w3.org
Message-Id: <5765AF59-0CD1-40CB-B07A-8D31AD1D1B3F@learningchange.com>

I've accumulated a few CSS validator bugs that I think need to be  

 using line-height with only an integer throws an error (CSS: line- 
height: 1; ERROR: Invalid number : line-height Parse Error - [empty  
string]). Converting to a floating point number (line-height: 1.0;)  
fixes. Should be able to accept integers without a decimal.

 "transparent" is not allowed in border shorthand declaration (CSS:  
border: 1px solid transparent; ERROR: Invalid number : border  
transparent is not a color value : 1px solid transparent).  
"transparent" is however accepted as part of border-color: transparent;

 "inline-block" is not a recognized value for display (CSS: display:  
inline-block; ERROR: Invalid number : display inline-block is not a  
display value : inline-block). To my knowledge, inline-block is  
acceptable despite that not all browsers recognize it.


Matt Bower

120 W 2nd St., Suite 2
Chico, CA 95928
Received on Tuesday, 5 December 2006 01:18:18 UTC

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