diff options
author | Keiron Liddle <keiron@apache.org> | 2002-02-20 10:41:45 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2002-02-20 10:41:45 +0000 |
commit | c3de1568d0d2b8eefa26c2abea4ea5ac4fa528a4 (patch) | |
tree | 7e8cd56e214a0e64bc58d3003845cbdf38d608dd /src | |
parent | 5af15a140e00ca7dc05f5e1e77fabdc0f1873b29 (diff) | |
download | xmlgraphics-fop-c3de1568d0d2b8eefa26c2abea4ea5ac4fa528a4.tar.gz xmlgraphics-fop-c3de1568d0d2b8eefa26c2abea4ea5ac4fa528a4.zip |
put in inherit keyword
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194658 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-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); |