W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2006

"invalid value" error if 'line-height' declaration does not end with semicolon

From: Stanimir Stamenkov <stanio@myrealbox.com>
Date: Tue, 07 Nov 2006 19:03:48 +0200
Message-ID: <4550BC74.2030504@myrealbox.com>
To: "www-amaya.w3.org" <www-amaya@w3.org>

An "invalid value" error is reported when a 'line-height' 
declaration does not end with a semicolon, like:

.test {
   line-height: 2
}

If I terminate the declaration with a semicolon, no error is reported:

.test {
   line-height: 2;
}

I haven't observed such error reported for other property 
declarations, like:

.test {
   margin: 0
}

As far as I'm aware declaration as the first one is o.k. and there 
should be no error.

-- 
Stanimir
Received on Tuesday, 7 November 2006 17:04:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 20 September 2007 14:24:44 GMT