- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 09 Mar 2009 21:12:22 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css3 In directory hutz:/tmp/cvs-serv27085/org/w3c/css/properties/css3 Modified Files: CssBackgroundCSS3.java Log Message: Index: CssBackgroundCSS3.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css3/CssBackgroundCSS3.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- CssBackgroundCSS3.java 6 Mar 2009 11:02:19 -0000 1.1 +++ CssBackgroundCSS3.java 9 Mar 2009 21:12:20 -0000 1.2 @@ -9,6 +9,7 @@ import org.w3c.css.properties.css21.CssBackgroundCSS21; import org.w3c.css.properties.css1.CssBackgroundImageCSS2; import org.w3c.css.properties.css1.CssBackgroundRepeatCSS2; +import org.w3c.css.properties.css1.CssBackgroundColor; import org.w3c.css.properties.css21.CssBackgroundPositionCSS21; import org.w3c.css.util.ApplContext; import org.w3c.css.util.InvalidParamException; @@ -24,6 +25,15 @@ * Created: Aug 31, 2005 2:03:41 PM<br /> */ public class CssBackgroundCSS3 extends CssBackgroundCSS21 { + CssBackgroundColor color; + + /** + * @param color The color to set. + */ + public void setColor(CssBackgroundColor color) { + this.color = color; + } + /** * Create a new CssBackgroundCSS2 */ @@ -82,7 +92,7 @@ case CssTypes.CSS_COLOR: case CssTypes.CSS_FUNCTION: if (getColor2() == null) { - setColor(new CssBackgroundColorCSS3(ac, expression)); + setColor(new CssBackgroundColor(ac, expression)); continue; } find = false; @@ -135,7 +145,7 @@ if (getColor2() == null) { try { - setColor(new CssBackgroundColorCSS3(ac, expression)); + setColor(new CssBackgroundColor(ac, expression)); find = true; break; } catch (InvalidParamException e) {
Received on Monday, 9 March 2009 21:12:31 UTC