- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 07 Nov 2012 14:28:37 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css3 In directory hutz:/tmp/cvs-serv16020/d/css3 Modified Files: CssColor.java Log Message: color function now checked at parsing time Index: CssColor.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css3/CssColor.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- CssColor.java 18 Oct 2012 09:46:03 -0000 1.4 +++ CssColor.java 7 Nov 2012 14:28:35 -0000 1.5 @@ -91,15 +91,6 @@ } else { attrvalue = "attr(" + v1 + ", " + v2 + ')'; } - } else if (fname.equals("rgba")) { - tempcolor.setRGBAColor(params, ac); - color = tempcolor; - } else if (fname.equals("hsl")) { - tempcolor.setHSLColor(params, ac); - color = tempcolor; - } else if (fname.equals("hsla")) { - tempcolor.setHSLAColor(params, ac); - color = tempcolor; } else { throw new InvalidParamException("value", params.getValue(),
Received on Wednesday, 7 November 2012 14:28:43 UTC