You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2006/01/03 10:00:19 UTC

DO NOT REPLY [Bug 38054] - Negative values for margin-top and space-before attributes of fo:block are ignored

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38054>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38054





------- Additional Comments From jeremias@apache.org  2006-01-03 10:00 -------
Would you please attach an example that shows the effect that you describe? My
suspicion is that you don't take space conditionality into account. Please note
that the .conditionality part of space-before/space-after defaults to discard.
And if a space-before occurs at the beginning of a document (i.e. starting a
reference area) it may be discarded if it is conditional. AFAIK, XEP may have
some issues here. For more details, please see the XSL-FO specification at
http://www.w3.org/TR/xsl/slice4.html#area-space.

margin-top is a different beast. It is mapped to space-before and the
.conditionality component is set to retain (5.3.2 in the spec) so it shouldn't
be discarded. On the other side, we do have tests that verify that negative
values are properly handled. A short test shows me that everything is working as
expected. So please do provide a test file.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.