DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26778>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26778 [PATCH] Support for percentages and table-units ------- Additional Comments From [EMAIL PROTECTED] 2004-02-15 16:41 ------- Good catch Simon, thanks for taking time to look at it. The NPE is due to a missing implementation of getNumeric() in RelativeNumericProperty (which should contain "return this;"). I would guess that your example are using margins in a page context, so I have made it return 20% of the page width. But margin-[top,bottom] also used page- width but they should be using page-height as their base and that isn't handled correctly yet. I'll attach a new patch which fixes the bugs you found and also merges the different getters in FObj into a single getLayoutDimension().