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 2002/10/31 12:52:16 UTC

DO NOT REPLY [Bug 14122] New: - table cell overlaps in next cell when background-color is not specified

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

table cell overlaps in next cell when background-color is not specified

           Summary: table cell overlaps in next cell when background-color
                    is not specified
           Product: Fop
           Version: 0.20.4
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: page-master/layout
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: thilo.s@web.de


The following test case shows the red cell overlapping into the next (right) 
cell. It seems that an explicit setting of a background-color attribute for 
each cell is needed to avoid the overlapping.

<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master margin-right="2.5cm" margin-left="2.5cm" margin-
bottom="2cm" margin-top="2cm" page-width="210mm" page-height="297mm" master-
name="dokument">
<fo:region-body/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="dokument">
<fo:flow flow-name="xsl-region-body">

<fo:table table-layout="fixed">
<fo:table-column column-width="4cm"/>
<fo:table-column column-width="4cm"/>
<fo:table-body>

<fo:table-row background-color="green" height="4cm">
<fo:table-cell background-color="red"/>
<fo:table-cell/>
</fo:table-row>

<fo:table-row background-color="green" height="4cm">
<fo:table-cell background-color="green"/>
<fo:table-cell background-color="yellow"/>
</fo:table-row>

</fo:table-body>
</fo:table>
</fo:flow>
</fo:page-sequence>
</fo:root>

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org