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

2002/css-validator/org/w3c/css/parser/analyzer CssParser.java,1.91,1.92

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

Modified Files:
	CssParser.java 
Log Message:
gradients

Index: CssParser.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/analyzer/CssParser.java,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -d -r1.91 -r1.92
--- CssParser.java	7 Nov 2012 15:49:16 -0000	1.91
+++ CssParser.java	8 Nov 2012 16:14:20 -0000	1.92
@@ -4104,6 +4104,22 @@
             CssImage img = new CssImage();
             img.setImageList(exp, ac);
             {if (true) return img;}
+        } else if (funcname.equals("linear-gradient(")) {
+            CssImage img = new CssImage();
+            img.setLinearGradient(exp, ac);
+            {if (true) return img;}
+        } else if (funcname.equals("repeating-linear-gradient(")) {
+            CssImage img = new CssImage();
+            img.setRepeatingLinearGradient(exp, ac);
+            {if (true) return img;}
+        } else if (funcname.equals("radial-gradient(")) {
+            CssImage img = new CssImage();
+            img.setRadialGradient(exp, ac);
+            {if (true) return img;}
+        } else if (funcname.equals("repeating-radial-gradient(")) {
+            CssImage img = new CssImage();
+            img.setRepeatingRadialGradient(exp, ac);
+            {if (true) 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:27 UTC

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