2002/css-validator/org/w3c/css/properties/css1 Css1Style.java,1.35,1.36

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

Modified Files:
	Css1Style.java 
Log Message:
robustness check

Index: Css1Style.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css1/Css1Style.java,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- Css1Style.java	25 Sep 2012 19:51:25 -0000	1.35
+++ Css1Style.java	25 Sep 2012 20:01:36 -0000	1.36
@@ -1676,11 +1676,11 @@
 		}
 		checker.reset();
 
-		if (cssPadding.paddingTop != null) {
+		if (cssPadding.paddingTop != null && !cssPadding.paddingTop.isSoftlyInherited()) {
 			info = cssPadding.paddingTop;
 			checker.compute(cssPadding.paddingTop.value);
 		}
-		if (cssPadding.paddingBottom != null) {
+		if (cssPadding.paddingBottom != null && !cssPadding.paddingBottom.isSoftlyInherited()) {
 			info = cssPadding.paddingBottom;
 			checker.compute(cssPadding.paddingBottom.value);
 		}
@@ -1692,11 +1692,11 @@
 		}
 		checker.reset();
 
-		if (cssPadding.paddingRight != null) {
+		if (cssPadding.paddingRight != null && !cssPadding.paddingRight.isSoftlyInherited()) {
 			info = cssPadding.paddingRight;
 			checker.compute(cssPadding.paddingRight.value);
 		}
-		if (cssPadding.paddingLeft != null) {
+		if (cssPadding.paddingLeft != null && !cssPadding.paddingLeft.isSoftlyInherited()) {
 			info = cssPadding.paddingLeft;
 			checker.compute(cssPadding.paddingLeft.value);
 		}

Received on Tuesday, 25 September 2012 20:01:39 UTC