W3C home > Mailing lists > Public > www-validator-cvs@w3.org > February 2006

[Bug 2272] <number> should not require a digit

From: <bugzilla@wiggum.w3.org>
Date: Sat, 11 Feb 2006 00:32:41 +0000
To: www-validator-cvs@w3.org
Cc:
Message-Id: <E1F7igr-00037D-3v@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2272





------- Additional Comments From jesse@thefutureoftheweb.com  2006-02-11 00:32 -------
Created an attachment (id=406)
 --> (http://www.w3.org/Bugs/Public/attachment.cgi?id=406&action=view)
Patch to allow 'line-height: 1;' 

CssNumber.get() returns either a Float or an Integer. CssLineHeight* were
assuming it was always a Float. I changed it so that getValue() is called
instead for instances of CssValueFloat (ie. CssNumber). getValue() always
returns Float.

Note: this only fixes line-height. It's not clear if this bug (or a similar
bug) exists elsewhere, though I couldn't find another occurance.
Received on Saturday, 11 February 2006 00:32:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:16 UTC