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

2002/css-validator/org/w3c/css/properties/css CssPadding.java,1.2,1.3 CssPaddingBottom.java,1.2,1.3 CssPaddingLeft.java,1.2,1.3 CssPaddingRight.java,1.2,1.3 CssPaddingTop.java,1.2,1.3

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 25 Sep 2012 20:04:17 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1TGbMg-0006r3-0V@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css
In directory hutz:/tmp/cvs-serv26326/css

Modified Files:
	CssPadding.java CssPaddingBottom.java CssPaddingLeft.java 
	CssPaddingRight.java CssPaddingTop.java 
Log Message:
robustness check

Index: CssPaddingTop.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css/CssPaddingTop.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- CssPaddingTop.java	25 Sep 2012 20:01:36 -0000	1.2
+++ CssPaddingTop.java	25 Sep 2012 20:04:15 -0000	1.3
@@ -110,7 +110,7 @@
 	 * e.g. his value is equals to inherit
 	 */
 	public boolean isSoftlyInherited() {
-		return value.equals(inherit);
+		return inherit.equals(value);
 	}
 
 	/**

Index: CssPaddingRight.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css/CssPaddingRight.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- CssPaddingRight.java	25 Sep 2012 20:01:36 -0000	1.2
+++ CssPaddingRight.java	25 Sep 2012 20:04:15 -0000	1.3
@@ -81,7 +81,7 @@
 	 * e.g. his value is equals to inherit
 	 */
 	public boolean isSoftlyInherited() {
-		return value.equals(inherit);
+		return inherit.equals(value);
 	}
 
 	/**

Index: CssPaddingBottom.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css/CssPaddingBottom.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- CssPaddingBottom.java	25 Sep 2012 20:01:36 -0000	1.2
+++ CssPaddingBottom.java	25 Sep 2012 20:04:15 -0000	1.3
@@ -81,7 +81,7 @@
 	 * e.g. his value is equals to inherit
 	 */
 	public boolean isSoftlyInherited() {
-		return value.equals(inherit);
+		return inherit.equals(value);
 	}
 
 	/**

Index: CssPaddingLeft.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css/CssPaddingLeft.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- CssPaddingLeft.java	25 Sep 2012 20:01:36 -0000	1.2
+++ CssPaddingLeft.java	25 Sep 2012 20:04:15 -0000	1.3
@@ -81,7 +81,7 @@
 	 * e.g. his value is equals to inherit
 	 */
 	public boolean isSoftlyInherited() {
-		return value.equals(inherit);
+		return inherit.equals(value);
 	}
 
 	/**

Index: CssPadding.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css/CssPadding.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- CssPadding.java	25 Sep 2012 20:01:36 -0000	1.2
+++ CssPadding.java	25 Sep 2012 20:04:15 -0000	1.3
@@ -89,7 +89,7 @@
 	 * e.g. his value is equals to inherit
 	 */
 	public boolean isSoftlyInherited() {
-		return value.equals(inherit);
+		return inherit.equals(value);
 	}
 
 	/**
Received on Tuesday, 25 September 2012 20:04:24 UTC

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