W3C home > Mailing lists > Public > www-validator-cvs@w3.org > November 2012

2002/css-validator/org/w3c/css/parser/analyzer CssParser.jj,1.90,1.91

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 08 Nov 2012 16:14:06 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1TWUk2-0006op-2j@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/parser/analyzer
In directory hutz:/tmp/cvs-serv26138

Modified Files:
	CssParser.jj 
Log Message:
gradients

Index: CssParser.jj
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/analyzer/CssParser.jj,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -d -r1.90 -r1.91
--- CssParser.jj	7 Nov 2012 15:49:16 -0000	1.90
+++ CssParser.jj	8 Nov 2012 16:14:03 -0000	1.91
@@ -2457,6 +2457,22 @@
 	    CssImage img = new CssImage();
 	    img.setImageList(exp, ac);
 	    return img;
+        } else if (funcname.equals("linear-gradient(")) {
+            CssImage img = new CssImage();
+            img.setLinearGradient(exp, ac);
+            return img;
+        } else if (funcname.equals("repeating-linear-gradient(")) {
+            CssImage img = new CssImage();
+            img.setRepeatingLinearGradient(exp, ac);
+            return img;
+        } else if (funcname.equals("radial-gradient(")) {
+            CssImage img = new CssImage();
+            img.setRadialGradient(exp, ac);
+            return img;
+        } else if (funcname.equals("repeating-radial-gradient(")) {
+            CssImage img = new CssImage();
+            img.setRepeatingRadialGradient(exp, ac);
+            return img;
 	} else if (funcname.equals("atsc-rgba(")) {
 	    if (getAtRule().toString().equals("@media atsc-tv")) {
 	        color.setATSCRGBAColor(exp, ac);
Received on Thursday, 8 November 2012 16:14:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:53 UTC