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=44023>.
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=44023

           Summary: An empty fo:block artificially breaks a block-stacking
                    constraint
           Product: Fop
           Version: 1.0dev
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: page-master/layout
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: [EMAIL PROTECTED]


In the following fo snippet:
  <fo:block>Text before</fo:block>
  <fo:block space-before="20pt"/>
  <fo:block space-before="10pt" space-before.precedence="force">
    Some text...
  </fo:block>

the two space-before should belong to the same sequence of space-specifiers and
be resolved to a single forcing space of 10pt, since the second block is empty
(no border, no padding, no content). In other words there is a block-stacking
constraint between the first and the third block.

FOP currently creates two separate sequences of space-specifiers; it stops at
the auxiliary box(w=0) generated by the empty block. I guess SpaceResolver
should check for that particular situation but it might be more complicated in
the general case.

-- 
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.

Reply via email to