diff options
Diffstat (limited to 'src/java/org/apache')
-rw-r--r-- | src/java/org/apache/fop/fo/FOPropertyMapping.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/fo/FOPropertyMapping.java b/src/java/org/apache/fop/fo/FOPropertyMapping.java index 0e8a21f80..afa83e99c 100644 --- a/src/java/org/apache/fop/fo/FOPropertyMapping.java +++ b/src/java/org/apache/fop/fo/FOPropertyMapping.java @@ -2623,6 +2623,9 @@ public class FOPropertyMapping implements Constants { // background-position m = new ListProperty.Maker(PR_BACKGROUND_POSITION); m.setInherited(false); + m.addKeyword("left", "0% 50%"); + m.addKeyword("center", "50% 50%"); + m.addKeyword("right", "100% 50%"); m.setDefault("0% 0%"); m.setDatatypeParser(new BackgroundPositionShorthandParser()); addPropertyMaker("background-position", m); @@ -2630,6 +2633,7 @@ public class FOPropertyMapping implements Constants { // border m = new ListProperty.Maker(PR_BORDER); m.setInherited(false); + m.setDefault(""); m.setDatatypeParser(new GenericShorthandParser()); addPropertyMaker("border", m); |