Integer line-height values in error?

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.

d.



[2] http://www.w3.org/TR/CSS21/syndata.html#value-def-number

Received on Tuesday, 25 October 2005 19:19:45 UTC