- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 26 Sep 2012 08:42:11 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css1
In directory hutz:/tmp/cvs-serv427/css1
Modified Files:
CssPadding.java
Log Message:
inherit not in css1 + missing next()
Index: CssPadding.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css1/CssPadding.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- CssPadding.java 25 Sep 2012 19:51:26 -0000 1.7
+++ CssPadding.java 26 Sep 2012 08:42:08 -0000 1.8
@@ -153,13 +153,8 @@
case CssTypes.CSS_PERCENTAGE:
CssPercentage p = val.getPercentage();
p.checkPositiveness(ac, caller);
+ expression.next();
return val;
- case CssTypes.CSS_IDENT:
- if (inherit.equals(val)) {
- expression.next();
- return inherit;
- }
- // if not inherit, or not an ident
// let it flow to the exception
}
throw new InvalidParamException("value",
Received on Wednesday, 26 September 2012 08:42:14 UTC