W3C home > Mailing lists > Public > www-validator-cvs@w3.org > July 2009

2002/css-validator/org/w3c/css/parser/analyzer CssParser.jj,1.67,1.68

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 06 Jul 2009 16:54:58 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MNrT0-00087P-Dj@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/parser/analyzer
In directory hutz:/tmp/cvs-serv31193/org/w3c/css/parser/analyzer

Modified Files:
	CssParser.jj 
Log Message:
comitting old changes

Index: CssParser.jj
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/analyzer/CssParser.jj,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- CssParser.jj	1 Mar 2009 09:05:48 -0000	1.67
+++ CssParser.jj	6 Jul 2009 16:54:56 -0000	1.68
@@ -2104,8 +2104,8 @@
 {
     n=<FUNCTION> ( <S> )* exp=expr() 
     ")" { 
-
-	if (n.image.toLowerCase().equals("rgb(")) {
+	String funcname = n.image.toLowerCase();
+	if (funcname.equals("rgb(")) {
 	    if (!getAtRule().toString().equals("@media atsc-tv")) {
 	       color.setRGBColor(exp, ac);
 	       return color;
Received on Monday, 6 July 2009 16:55:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:09 GMT