W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2012

2002/css-validator/org/w3c/css/properties/css CssPadding.java,1.3,1.4

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 25 Sep 2012 20:19:47 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1TGbbf-0007dZ-Dd@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css
In directory hutz:/tmp/cvs-serv29340/css

Modified Files:
	CssPadding.java 
Log Message:
assign sourcefile

Index: CssPadding.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css/CssPadding.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- CssPadding.java	25 Sep 2012 20:04:15 -0000	1.3
+++ CssPadding.java	25 Sep 2012 20:19:45 -0000	1.4
@@ -108,6 +108,21 @@
 	}
 
 	/**
+	 * 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);
+		paddingLeft.setInfo(line, source);
+		paddingRight.setInfo(line, source);
+		paddingTop.setInfo(line, source);
+		paddingBottom.setInfo(line, source);
+	}
+
+	/**
 	 * Get this property in the style.
 	 *
 	 * @param style   The style where the property is
Received on Tuesday, 25 September 2012 20:19:48 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:52 UTC