- From: CVS User ylafon <cvsmail@w3.org>
- Date: Wed, 28 Aug 2013 15:07:34 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/values In directory roscoe:/tmp/cvs-serv3350 Modified Files: CssImage.java Log Message: bad sanity test for ellipses --- /sources/public/2002/css-validator/org/w3c/css/values/CssImage.java 2013/01/03 21:21:52 1.8 +++ /sources/public/2002/css-validator/org/w3c/css/values/CssImage.java 2013/08/28 15:07:34 1.9 @@ -1,4 +1,4 @@ -// $Id: CssImage.java,v 1.8 2013/01/03 21:21:52 ylafon Exp $ +// $Id: CssImage.java,v 1.9 2013/08/28 15:07:34 ylafon Exp $ // Author: Yves Lafon <ylafon@w3.org> // // (c) COPYRIGHT MIT, ERCIM and Keio University, 2012. @@ -503,7 +503,7 @@ expression.toStringFromStart(), name, ac); } // ellipsis must have one extent ident or two (percentage/length) - if (shape == ellipse && (extend2 == null || (extend != null && extend.getType() != CssTypes.CSS_IDENT))) { + if (shape == ellipse && (extend2 == null && (extend != null && extend.getType() != CssTypes.CSS_IDENT))) { throw new InvalidParamException("value", expression.toStringFromStart(), name, ac); }
Received on Wednesday, 28 August 2013 15:07:35 UTC