aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/FOPropertyMapping.java
diff options
context:
space:
mode:
authorAndreas L. Delmelle <adelmelle@apache.org>2008-05-01 09:52:24 +0000
committerAndreas L. Delmelle <adelmelle@apache.org>2008-05-01 09:52:24 +0000
commit2063c2997322531239cbe26acdd7aa097a72bfd2 (patch)
treec6539d4ce9ece35d08ffc5b5ef1e562206a7309e /src/java/org/apache/fop/fo/FOPropertyMapping.java
parent99d913e85de420ed51d5d83638876c316abcde0d (diff)
downloadxmlgraphics-fop-2063c2997322531239cbe26acdd7aa097a72bfd2.tar.gz
xmlgraphics-fop-2063c2997322531239cbe26acdd7aa097a72bfd2.zip
Added enum "none" as a legitimate value for max-height/min-height (behavior to be checked)
Added small testcase to check the correspondence mapping. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@652465 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/FOPropertyMapping.java')
-rw-r--r--src/java/org/apache/fop/fo/FOPropertyMapping.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/fo/FOPropertyMapping.java b/src/java/org/apache/fop/fo/FOPropertyMapping.java
index 3d1a46709..6d136535b 100644
--- a/src/java/org/apache/fop/fo/FOPropertyMapping.java
+++ b/src/java/org/apache/fop/fo/FOPropertyMapping.java
@@ -1424,6 +1424,7 @@ public final class FOPropertyMapping implements Constants {
// max-height
m = new LengthProperty.Maker(PR_MAX_HEIGHT);
+ m.addEnum("NONE", getEnumProperty(EN_NONE, "NONE"));
m.setInherited(false);
m.setDefault("0pt");
m.setPercentBase(LengthBase.CONTAINING_BLOCK_HEIGHT);
@@ -1431,6 +1432,7 @@ public final class FOPropertyMapping implements Constants {
// max-width
m = new LengthProperty.Maker(PR_MAX_WIDTH);
+ m.addEnum("NONE", getEnumProperty(EN_NONE, "NONE"));
m.setInherited(false);
m.setDefault("none");
m.setPercentBase(LengthBase.CONTAINING_BLOCK_WIDTH);