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

Integer line-height values in error?

From: Dave Shea <dave@mezzoblue.com>
Date: Tue, 25 Oct 2005 12:19:37 -0700
Message-ID: <435E8549.9010107@mezzoblue.com>
To: www-validator-css@w3.org

The validator has started reporting integer line-height <number> values 
as errors. I believe this is a recent change, as previously-validating 
style sheets are now reported as non-valid.

So this validates:

p {
   line-height: 1.2;

Whereas this does not:

p {
   line-height: 1;

But <number> values may be either an integer or a real number [1] so 
clearly the validator is wrong in this regard. Please fix.


[2] http://www.w3.org/TR/CSS21/syndata.html#value-def-number
Received on Tuesday, 25 October 2005 19:19:45 UTC

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