- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 07 Nov 2012 15:49:18 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/parser/analyzer In directory hutz:/tmp/cvs-serv3055 Modified Files: CssParser.java CssParser.jj CssParserTokenManager.java Log Message: added image, first step Index: CssParserTokenManager.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/analyzer/CssParserTokenManager.java,v retrieving revision 1.47 retrieving revision 1.48 diff -u -d -r1.47 -r1.48 --- CssParserTokenManager.java 10 Oct 2012 07:51:50 -0000 1.47 +++ CssParserTokenManager.java 7 Nov 2012 15:49:16 -0000 1.48 @@ -16,6 +16,7 @@ import org.w3c.css.values.CssNumber; import org.w3c.css.values.CssColor; import org.w3c.css.values.CssIdent; +import org.w3c.css.values.CssImage; import org.w3c.css.values.CssPercentage; import org.w3c.css.values.CssFrequency; import org.w3c.css.values.CssTime; Index: CssParser.jj =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/analyzer/CssParser.jj,v retrieving revision 1.89 retrieving revision 1.90 diff -u -d -r1.89 -r1.90 --- CssParser.jj 7 Nov 2012 14:18:51 -0000 1.89 +++ CssParser.jj 7 Nov 2012 15:49:16 -0000 1.90 @@ -38,6 +38,7 @@ import org.w3c.css.values.CssNumber; import org.w3c.css.values.CssColor; import org.w3c.css.values.CssIdent; +import org.w3c.css.values.CssImage; import org.w3c.css.values.CssPercentage; import org.w3c.css.values.CssFrequency; import org.w3c.css.values.CssTime; @@ -2452,6 +2453,10 @@ } else if (funcname.equals("hsla(")) { color.setHSLAColor(exp, ac); return color; + } else if (funcname.equals("image(")) { + CssImage img = new CssImage(); + img.setImageList(exp, ac); + return img; } else if (funcname.equals("atsc-rgba(")) { if (getAtRule().toString().equals("@media atsc-tv")) { color.setATSCRGBAColor(exp, ac); Index: CssParser.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/analyzer/CssParser.java,v retrieving revision 1.90 retrieving revision 1.91 diff -u -d -r1.90 -r1.91 --- CssParser.java 7 Nov 2012 14:19:42 -0000 1.90 +++ CssParser.java 7 Nov 2012 15:49:16 -0000 1.91 @@ -18,6 +18,7 @@ import org.w3c.css.values.CssNumber; import org.w3c.css.values.CssColor; import org.w3c.css.values.CssIdent; +import org.w3c.css.values.CssImage; import org.w3c.css.values.CssPercentage; import org.w3c.css.values.CssFrequency; import org.w3c.css.values.CssTime; @@ -4099,6 +4100,10 @@ } else if (funcname.equals("hsla(")) { color.setHSLAColor(exp, ac); {if (true) return color;} + } else if (funcname.equals("image(")) { + CssImage img = new CssImage(); + img.setImageList(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 Wednesday, 7 November 2012 15:49:24 UTC