diff options
-rw-r--r-- | src/org/apache/fop/fo/PropertyList.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/org/apache/fop/fo/PropertyList.java b/src/org/apache/fop/fo/PropertyList.java index c99259236..02f136eab 100644 --- a/src/org/apache/fop/fo/PropertyList.java +++ b/src/org/apache/fop/fo/PropertyList.java @@ -252,16 +252,15 @@ public class PropertyList extends HashMap { // don't know what to do here } } -/* + // if value is inherit then get computed value from // parent - // namespaces?? if(p != null && "inherit".equals(p.getString())) { if (this.parentPropertyList != null) { p = parentPropertyList.get(propertyName, true, false); } } -*/ + if (subpropName != null && p != null) { return this.builder.getSubpropValue(namespace, element, propertyName, p, subpropName); |