Parent Directory | Revision Log | Patch
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/FOPropertyMapping.java 2006/02/15 13:06:48 378002 +++ xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/FOPropertyMapping.java 2006/02/15 13:07:57 378003 @@ -2623,6 +2623,9 @@ public class FOPropertyMapping implement // 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 implement // border m = new ListProperty.Maker(PR_BORDER); m.setInherited(false); + m.setDefault(""); m.setDatatypeParser(new GenericShorthandParser()); addPropertyMaker("border", m);
infrastructure at apache.org | ViewVC Help |
Powered by ViewVC 1.1.26 |