- From: <bugzilla@wiggum.w3.org>
- Date: Thu, 22 Sep 2005 08:29:51 +0000
- To: www-validator-cvs@w3.org
- Cc:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=2285
Summary: Number as Interger marked as invalid
Product: CSSValidator
Version: CSS Validator
Platform: All
URL: http://www.andybudd.com/test/number.css
OS/Version: All
Status: NEW
Severity: major
Priority: P2
Component: CSS 2.0
AssignedTo: ot@w3.org
ReportedBy: info@andybudd.com
QAContact: www-validator-cvs@w3.org
The line-height property can take a <number> value. The CSS spec says that:
A <number> can either be an <integer>, or it can be zero or more digits followed by a dot (.) followed
by one or more digits.
However when using a number that is an integer, the validator flags this as an error.
e.g.
line-height:1; is marked as an error
whereas
line-height: 1.0; is fine
Received on Thursday, 22 September 2005 08:30:04 UTC