CSS validator bugs

Hi,

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

• 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.

Thanks.

Matt Bower
Webmaster/Designer/Programmer
mbower@learningchange.com

LearningChange
120 W 2nd St., Suite 2
Chico, CA 95928
530-899-8880

Received on Tuesday, 5 December 2006 01:18:18 UTC