2002/css-validator/org/w3c/css/properties/css3 CssOverflow.java,1.1,1.2

Update of /sources/public/2002/css-validator/org/w3c/css/properties/css3
In directory hutz:/tmp/cvs-serv17448/css3

Modified Files:
	CssOverflow.java 
Log Message:
additionnal setters

Index: CssOverflow.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css3/CssOverflow.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- CssOverflow.java	5 Nov 2012 17:36:13 -0000	1.1
+++ CssOverflow.java	7 Nov 2012 11:33:53 -0000	1.2
@@ -5,6 +5,7 @@
 // Please first read the full copyright statement in file COPYRIGHT.html
 package org.w3c.css.properties.css3;
 
+import org.w3c.css.parser.CssSelectors;
 import org.w3c.css.parser.CssStyle;
 import org.w3c.css.properties.css.CssProperty;
 import org.w3c.css.properties.css2.Css2Style;
@@ -161,5 +162,41 @@
 		expression.next();
 		return value;
 	}
+
+	/**
+	 * Update the source file and the line.
+	 * Overrides this method for a macro
+	 *
+	 * @param line   The line number where this property is defined
+	 * @param source The source file where this property is defined
+	 */
+	public void setInfo(int line, String source) {
+		super.setInfo(line, source);
+		cssOverflowX.setInfo(line, source);
+		cssOverflowY.setInfo(line, source);
+	}
+
+	/**
+	 * Set this property to be important.
+	 * Overrides this method for a macro
+	 */
+	public void setImportant() {
+		super.setImportant();
+		cssOverflowX.setImportant();
+		cssOverflowY.setImportant();
+	}
+
+	/**
+	 * Set the context.
+	 * Overrides this method for a macro
+	 *
+	 * @see org.w3c.css.css.CssCascadingOrder#order
+	 * @see org.w3c.css.css.StyleSheetParser#handleRule
+	 */
+	public void setSelectors(CssSelectors selector) {
+		super.setSelectors(selector);
+		cssOverflowX.setSelectors(selector);
+		cssOverflowY.setSelectors(selector);
+	}
 }
 

Received on Wednesday, 7 November 2012 11:34:00 UTC