- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 25 Sep 2012 20:01:38 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css
In directory hutz:/tmp/cvs-serv26029/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.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- CssPaddingTop.java 25 Sep 2012 19:51:25 -0000 1.1
+++ CssPaddingTop.java 25 Sep 2012 20:01:36 -0000 1.2
@@ -106,6 +106,14 @@
}
/**
+ * Returns true if this property is "softly" inherited
+ * e.g. his value is equals to inherit
+ */
+ public boolean isSoftlyInherited() {
+ return value.equals(inherit);
+ }
+
+ /**
* Compares two properties for equality.
*
* @param property The other property.
Index: CssPaddingRight.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css/CssPaddingRight.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- CssPaddingRight.java 25 Sep 2012 19:51:25 -0000 1.1
+++ CssPaddingRight.java 25 Sep 2012 20:01:36 -0000 1.2
@@ -76,6 +76,13 @@
return value.toString();
}
+ /**
+ * Returns true if this property is "softly" inherited
+ * e.g. his value is equals to inherit
+ */
+ public boolean isSoftlyInherited() {
+ return value.equals(inherit);
+ }
/**
* Add this property to the CssStyle
Index: CssPaddingBottom.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css/CssPaddingBottom.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- CssPaddingBottom.java 25 Sep 2012 19:51:25 -0000 1.1
+++ CssPaddingBottom.java 25 Sep 2012 20:01:36 -0000 1.2
@@ -76,6 +76,13 @@
return value.toString();
}
+ /**
+ * Returns true if this property is "softly" inherited
+ * e.g. his value is equals to inherit
+ */
+ public boolean isSoftlyInherited() {
+ return value.equals(inherit);
+ }
/**
* Add this property to the CssStyle
Index: CssPaddingLeft.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css/CssPaddingLeft.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- CssPaddingLeft.java 25 Sep 2012 19:51:25 -0000 1.1
+++ CssPaddingLeft.java 25 Sep 2012 20:01:36 -0000 1.2
@@ -76,6 +76,13 @@
return value.toString();
}
+ /**
+ * Returns true if this property is "softly" inherited
+ * e.g. his value is equals to inherit
+ */
+ public boolean isSoftlyInherited() {
+ return value.equals(inherit);
+ }
/**
* Add this property to the CssStyle
Index: CssPadding.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css/CssPadding.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- CssPadding.java 25 Sep 2012 19:51:25 -0000 1.1
+++ CssPadding.java 25 Sep 2012 20:01:36 -0000 1.2
@@ -84,6 +84,13 @@
return value.toString();
}
+ /**
+ * Returns true if this property is "softly" inherited
+ * e.g. his value is equals to inherit
+ */
+ public boolean isSoftlyInherited() {
+ return value.equals(inherit);
+ }
/**
* Add this property to the CssStyle
Received on Tuesday, 25 September 2012 20:01:43 UTC