2002/css-validator/org/w3c/css/parser/analyzer CssParser.jj,1.88,1.89

Update of /sources/public/2002/css-validator/org/w3c/css/parser/analyzer
In directory hutz:/tmp/cvs-serv12088

Modified Files:
	CssParser.jj 
Log Message:
add color generation at parsing time

Index: CssParser.jj
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/analyzer/CssParser.jj,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -d -r1.88 -r1.89
--- CssParser.jj	18 Oct 2012 09:42:55 -0000	1.88
+++ CssParser.jj	7 Nov 2012 14:18:51 -0000	1.89
@@ -2443,6 +2443,15 @@
 	if (funcname.equals("rgb(")) {
 	    color.setRGBColor(exp, ac);
 	    return color;
+	} else if (funcname.equals("rgba(")) {
+	    color.setRGBAColor(exp, ac);
+	    return color;
+	} else if (funcname.equals("hsl(")) {
+	    color.setHSLColor(exp, ac);
+	    return color;
+	} else if (funcname.equals("hsla(")) {
+	    color.setHSLAColor(exp, ac);
+	    return color;
 	} else if (funcname.equals("atsc-rgba(")) {
 	    if (getAtRule().toString().equals("@media atsc-tv")) {
 	        color.setATSCRGBAColor(exp, ac);

Received on Wednesday, 7 November 2012 14:18:58 UTC