- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 08 Nov 2012 16:14:06 +0000
- To: www-validator-cvs@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