- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 23 Aug 2012 17:11:31 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css In directory hutz:/tmp/cvs-serv22450/css Modified Files: CssBackgroundAttachment.java Log Message: ident case sensitivity Index: CssBackgroundAttachment.java =================================================================== RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css/CssBackgroundAttachment.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- CssBackgroundAttachment.java 5 Oct 2011 11:46:42 -0000 1.6 +++ CssBackgroundAttachment.java 23 Aug 2012 17:11:29 -0000 1.7 @@ -8,10 +8,10 @@ import org.w3c.css.parser.CssStyle; import org.w3c.css.properties.css1.Css1Style; -import org.w3c.css.properties.css3.Css3Style; import org.w3c.css.util.ApplContext; import org.w3c.css.util.InvalidParamException; import org.w3c.css.values.CssExpression; +import org.w3c.css.values.CssValue; /** * @since CSS1 @@ -19,7 +19,7 @@ public class CssBackgroundAttachment extends CssProperty { - Object value; + public CssValue value; /** * Create a new CssBackgroundAttachment @@ -27,10 +27,6 @@ public CssBackgroundAttachment() { } - public void set(Object val) { - value = val; - } - /** * Creates a new CssBackgroundAttachment * @@ -87,9 +83,9 @@ * @param style The CssStyle */ public void addToStyle(ApplContext ac, CssStyle style) { - if (((Css3Style) style).cssBackground.attachment != null) + if (((Css1Style) style).cssBackground.attachment != null) style.addRedefinitionWarning(ac, this); - ((Css3Style) style).cssBackground.attachment = this; + ((Css1Style) style).cssBackground.attachment = this; }
Received on Thursday, 23 August 2012 17:11:32 UTC