- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Sun, 05 Mar 2006 18:27:30 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css1 In directory hutz:/tmp/cvs-serv6685 Modified Files: CssLineHeight.java CssLineHeightCSS1.java CssLineHeightCSS2.java Log Message: applying patch which should fix Bug #2272 http://www.w3.org/Bugs/Public/show_bug.cgi?id=2272 courtesy of Jesse Skinner Index: CssLineHeightCSS1.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css1/CssLineHeightCSS1.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- CssLineHeightCSS1.java 14 Sep 2005 15:14:31 -0000 1.3 +++ CssLineHeightCSS1.java 5 Mar 2006 18:27:27 -0000 1.4 @@ -75,7 +75,7 @@ if (val instanceof CssNumber || val instanceof CssLength || val instanceof CssPercentage) { - float v = ((Float) val.get()).floatValue(); + float v = ((Number) val.get()).floatValue(); if (v >= 0) { value = val; expression.next(); Index: CssLineHeightCSS2.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css1/CssLineHeightCSS2.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- CssLineHeightCSS2.java 14 Sep 2005 15:14:31 -0000 1.3 +++ CssLineHeightCSS2.java 5 Mar 2006 18:27:27 -0000 1.4 @@ -75,7 +75,7 @@ if (val instanceof CssNumber || val instanceof CssLength || val instanceof CssPercentage) { - float v = ((Float) val.get()).floatValue(); + float v = ((Number) val.get()).floatValue(); if (v >= 0) { value = val; expression.next(); Index: CssLineHeight.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css1/CssLineHeight.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- CssLineHeight.java 14 Sep 2005 15:14:31 -0000 1.3 +++ CssLineHeight.java 5 Mar 2006 18:27:27 -0000 1.4 @@ -82,7 +82,7 @@ if (val instanceof CssNumber || val instanceof CssLength || val instanceof CssPercentage) { - float v = ((Float) val.get()).floatValue(); + float v = ((Number) val.get()).floatValue(); if (v >= 0) { value = val; expression.next();
Received on Sunday, 5 March 2006 18:27:39 UTC