From c3de1568d0d2b8eefa26c2abea4ea5ac4fa528a4 Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Wed, 20 Feb 2002 10:41:45 +0000 Subject: put in inherit keyword git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194658 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/fo/PropertyList.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') 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); -- cgit v1.2.3