W3C home > Mailing lists > Public > www-validator-cvs@w3.org > October 2012

2002/css-validator/org/w3c/css/properties/css3 CssTransform.java,1.1,1.2

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 12 Oct 2012 20:49:02 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1TMmAI-0000B2-Uv@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css3
In directory hutz:/tmp/cvs-serv666/css3

Modified Files:
	CssTransform.java 
Log Message:
typo

Index: CssTransform.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css3/CssTransform.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- CssTransform.java	12 Oct 2012 14:33:54 -0000	1.1
+++ CssTransform.java	12 Oct 2012 20:49:00 -0000	1.2
@@ -211,8 +211,7 @@
 		}
 		CssValue val;
 		val = expression.getValue();
-		if (val.getType() != CssTypes.CSS_NUMBER &&
-				val.getType() != CssTypes.CSS_LENGTH) {
+		if (val.getType() != type) {
 			throw new InvalidParamException("value",
 					val.toString(),
 					caller.getPropertyName(), ac);
Received on Friday, 12 October 2012 20:49:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:52 UTC